[crux-commits] ports/contrib (3.6): tre-command: 0.3.3 -> 0.3.4

crux at crux.nu crux at crux.nu
Sun Feb 21 10:25:16 UTC 2021


commit d13204fb3c7703319859daeb174df0b6969fccce
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Feb 21 10:23:43 2021 +0000

    tre-command: 0.3.3 -> 0.3.4

diff --git a/tre-command/.signature b/tre-command/.signature
index 45f7f380a..d30e52e38 100644
--- a/tre-command/.signature
+++ b/tre-command/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF32UZmsYUuCfvIVp7/S/I8J+YUjx45GNZeF/d/nWs1nn4ACYb9LYeSabySioYMjN3Y2kClAvYJ3HoIDNOBZON0gg=
-SHA256 (Pkgfile) = 7596bc08e98391e775d5d75e0c6eb0b8d8f1cadc5be7ba739f7cde4f1959e7c9
+RWSagIOpLGJF378tysmkSHT13u1KIQvZaSpZzWxIon+U798+EmbjDpqQfJ4mRMO3gfL99rS8we5hab1PkG2AzHGpDGGARta5dgI=
+SHA256 (Pkgfile) = b6cab7af835131ff7366d466f6b1080a769f982b7da9d190bcebb90b5a6aa4e2
 SHA256 (.footprint) = 50c2d8d318f6bd8993b5018f524785d8ec6ebce93ba007021ad84647d08b71da
-SHA256 (tre-0.3.3.tar.gz) = 321a673e55397e80a0229537399f2c762a7d5196e3a486a684ea3c481e1d7bec
+SHA256 (tre-0.3.4.tar.gz) = d4526efa37280ab2450c9595cf90b72d2fbf5fdeb989a3386f24297cb5da82fc
diff --git a/tre-command/Pkgfile b/tre-command/Pkgfile
index 840a1fa4d..150e174ff 100644
--- a/tre-command/Pkgfile
+++ b/tre-command/Pkgfile
@@ -4,19 +4,17 @@
 # Depends on: rust
 
 name=tre-command
-version=0.3.3
+version=0.3.4
 release=1
 source=(https://github.com/dduan/tre/archive/v$version/tre-$version.tar.gz)
 
 build() {
-  cd tre-$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/tre
+  cargo update --manifest-path tre-$version/Cargo.toml
+  cargo fetch --manifest-path tre-$version/Cargo.toml
+  cargo build --release --locked --manifest-path tre-$version/Cargo.toml
+  install -Dt $PKG/usr/bin tre-$version/target/release/tre
 }


More information about the crux-commits mailing list