[crux-commits] ports/contrib (refs/remotes/origin/3.6): i3status-rust: 0.14.5 -> 0.14.6

crux at crux.nu crux at crux.nu
Sat Apr 10 19:05:52 UTC 2021


commit c5e32ea8851fa8b6fef7f56aed2c327a23fb818d
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Feb 14 15:11:48 2021 +0000

    i3status-rust: 0.14.5 -> 0.14.6

diff --git a/i3status-rust/.signature b/i3status-rust/.signature
index b4cfc9f62..8609c50cf 100644
--- a/i3status-rust/.signature
+++ b/i3status-rust/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3zcEs/+AoVYOWYsp2Xy24KtVYQ/GzYs6bvbak4cCXP8JQr49tNn+lXseqNMDg+JqTBhQbiLyBVsQHMbYkrSLfQ0=
-SHA256 (Pkgfile) = 7795fdd178341e00bb91eaec0a1b64b7bd0269694ab8e532b62761a6dcb33477
+RWSagIOpLGJF380fFZgoREIWcM5hH2M2rL/qpW6cxI7MOwwuodqzDuacHvfvIBs61hxyGnTTjYKg4YcEAYnvTP4EyAYdvjty4gg=
+SHA256 (Pkgfile) = 0e671506502fda4b770452ba0a00b93d7a1553852a6637dbdc33d3beb9409f5d
 SHA256 (.footprint) = 46e38c743630719fc5db8383d793d119a83726afb7568114366b2b9c2d3ed80b
-SHA256 (i3status-rust-0.14.5-01.tar.gz) = 027c8e6d6f13a469b71feba70719de4fd689be5c45a66a2deaaf740003c3df7e
+SHA256 (i3status-rust-0.14.6-01.tar.gz) = 2fffd44d60c8e016f30e0f107cde9cceb0a89f6c784a2929e2cae832162923c5
diff --git a/i3status-rust/Pkgfile b/i3status-rust/Pkgfile
index b07e99241..43bec632b 100644
--- a/i3status-rust/Pkgfile
+++ b/i3status-rust/Pkgfile
@@ -5,25 +5,26 @@
 # Optional: notmuch pulseaudio
 
 name=i3status-rust
-version=0.14.5
-release=2
+version=0.14.6
+release=1
 source=(https://github.com/greshake/i3status-rust/archive/v$version/$name-$version-01.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"
 
   # configure optional dependencies
   [[ -e /usr/lib/libnotmuch.so ]] && PKGMK_I3STATUS_RUST+=' notmuch'
   [[ -e /usr/lib/pkgconfig/libpulse.pc ]] && PKGMK_I3STATUS_RUST+=' libpulse-binding'
 
-  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 --manifest-path $name-$version/Cargo.toml
+
+  cargo fetch --manifest-path $name-$version/Cargo.toml --locked
 
-  cargo update
-  cargo fetch
   [[ -n $PKGMK_I3STATUS_RUST ]] \
-    && cargo build --release --features "$PKGMK_I3STATUS_RUST" \
-    || cargo build --release --no-default-features
-  install -Dt $PKG/usr/bin target/release/i3status-rs
+    && cargo build --manifest-path $name-$version/Cargo.toml --release --features "$PKGMK_I3STATUS_RUST" \
+    || cargo build --manifest-path $name-$version/Cargo.toml --release --no-default-features
+
+  install -Dt $PKG/usr/bin $name-$version/target/release/i3status-rs
 }


More information about the crux-commits mailing list