i3status-rust: 0.21.11 -> 0.22.0

This commit is contained in:
Tim Biermann 2022-11-27 17:56:58 +00:00
parent fb693cbc87
commit b4d033c087
2 changed files with 12 additions and 11 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF382VI6rs1kBJemkoXmwZgw67rWZ+qX4ljoL5LcpSIlbeNyr7a8SHo6fsQ96fX4nlmfm/DLn81mDvcathtEQDNgY=
SHA256 (Pkgfile) = 0dda90f0f6575f40f02e1e83d4f48025c4ea74b41eacf8ed8d1834a8f98909f6
RWSagIOpLGJF3zYfQ8AxxwwwwFPyIbhN7S2AreV8AoKt+0prAFt/NBSJIAJ66W6xMFR4oa/AvdqQyoMlVeBkidttBaUlz3Nh1wU=
SHA256 (Pkgfile) = cbf27fcb471ac45c4b97fa3e7b8e16da94bbeec131d79b9531412771f43e87a3
SHA256 (.footprint) = e502ce4531c311cd13974a1ccdd9ab6ab2af2c6f4e10d8b074b9e0af3e36ddde
SHA256 (i3status-rust-0.21.11.tar.gz) = cd0a5402ae11aaca29dcc2d0aaa5477490677c073ab4496c486c52202de47785
SHA256 (i3status-rust-0.22.0.tar.gz) = fcbd657f0372946035d58190c864e5988ed1beb1aafac6097b1ac203de006010

View File

@ -5,9 +5,10 @@
# Optional: alsa-utils bluez curl font-awesome-compat font-powerline kdeconnect notmuch pulseaudio upower
name=i3status-rust
version=0.21.11
version=0.22.0
release=1
source=(https://github.com/greshake/i3status-rust/archive/v$version/$name-$version.tar.gz)
_commit=227bc31409aef6de90aa37e929da0c6c90134e3c
source=(https://github.com/greshake/i3status-rust/archive/$_commit/$name-$version.tar.gz)
build() {
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
@ -19,18 +20,18 @@ build() {
prt-get isinst pulseaudio && PKGMK_I3STATUS_RUST+=' libpulse-binding'
[[ -n $PKGMK_I3STATUS_RUST ]] \
&& 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
&& cargo build --manifest-path $name-$_commit/Cargo.toml --release --features "$PKGMK_I3STATUS_RUST" \
|| cargo build --manifest-path $name-$_commit/Cargo.toml --release --no-default-features
install -Dt $PKG/usr/bin $name-$version/target/release/i3status-rs
install -Dt $PKG/usr/bin $name-$_commit/target/release/i3status-rs
install -Dm644 $name-$version/man/i3status-rs.1 -t $PKG/usr/share/man/man1
install -Dm644 $name-$_commit/man/i3status-rs.1 -t $PKG/usr/share/man/man1
for icon_set in $name-$version/files/icons/*.toml; do
for icon_set in $name-$_commit/files/icons/*.toml; do
install -Dm644 $icon_set -t $PKG/usr/share/$name/icons
done
for theme in $name-$version/files/themes/*.toml; do
for theme in $name-$_commit/files/themes/*.toml; do
install -Dm644 $theme -t $PKG/usr/share/$name/themes
done
}