[crux-commits] ports/contrib (3.6): grex: 1.1.0 -> 1.2.0

crux at crux.nu crux at crux.nu
Mon Mar 29 20:20:47 UTC 2021


commit f062dcfe073ca0db608efc201ac9e9a2acd86a43
Author: Tim Biermann <tbier at posteo.de>
Date:   Mon Mar 29 20:20:31 2021 +0000

    grex: 1.1.0 -> 1.2.0

diff --git a/grex/.signature b/grex/.signature
index 63b752869..0ee06fa98 100644
--- a/grex/.signature
+++ b/grex/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3wgmD8itjwIgd239d0ToAThRub8ooskKC1H6jxdnZHZX4iBM5ZZF5VHgnznfgV3un4LII4gwOFX+ZFR9oN5rCwU=
-SHA256 (Pkgfile) = a097f2f89843845277ccac10216c3d326728fc414c0c4e97b7a7d7a47a659b1c
+RWSagIOpLGJF3w4X9aKpMqj6PXsgdjQGSdggBEouDprzprrluk01aKUpT2IMOVBpPN4CBeiLQP3v/NwMGfb/AOH68w3slBQ4zQ0=
+SHA256 (Pkgfile) = aee5e44a8af28e8bf21d7fcbfa44fda2106ed6d87a3d6866549ad55bfa29b752
 SHA256 (.footprint) = 892b73ceb503cb594a871e66248fecb170addd6d0cac4dd12f1e17fbac9c9990
-SHA256 (grex-1.1.0.tar.gz) = 52a9d5ddc15c7fb227c87147d991bfabe2aae1fbef8169893a9111dcd3aa641f
+SHA256 (grex-1.2.0.tar.gz) = 24b27ee194232d9280f86ed11ee1863e6636eea4423013bfe78b2ebc21002404
diff --git a/grex/Pkgfile b/grex/Pkgfile
index 0051320bd..815346a86 100644
--- a/grex/Pkgfile
+++ b/grex/Pkgfile
@@ -4,19 +4,17 @@
 # Depends on: rust
 
 name=grex
-version=1.1.0
+version=1.2.0
 release=1
 source=(https://github.com/pemistahl/grex/archive/v$version/$name-$version.tar.gz)
 
 build() {
-  cd $name-$version
-
   prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
   mkdir "$PKGMK_SOURCE_DIR/rust" || true
   export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
 
-  cargo update
-  cargo fetch
-  cargo build --release --locked
-  install -Dt $PKG/usr/bin target/release/grex
+  cargo update --manifest-path $name-$version/Cargo.toml
+  cargo fetch --manifest-path $name-$version/Cargo.toml
+  cargo build --release --locked --manifest-path $name-$version/Cargo.toml
+  install -Dt $PKG/usr/bin $name-$version/target/release/$name
 }


More information about the crux-commits mailing list