i3status-rust: added themes, icons and manpage

This commit is contained in:
Tim Biermann 2021-05-09 13:23:13 +00:00
parent cf2c7d9faf
commit a372acf484
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 15 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3yCfxTylPR9hNvqSRokzVdvwCBic+kTMKqUxmSn/jMvWQbep3Im9kZnN/3iRe4SmQRXy8sGJIRJidnn3JpVv5gY=
SHA256 (Pkgfile) = 43cf13041f661509c43397e51124e8518de5ac07cb0e5a41796b5ac725aef5eb
RWSagIOpLGJF39K+cjcjBNf2r8G6CmJ2z3w0z6lZ+aA9hublI5OcuaUfpv9tKqfLkcvXVq3QahIJ/M7SxCOv+faPpyV9ZQGasg4=
SHA256 (Pkgfile) = 8e0ccfbe3c00168d0c89786f7208d29e05413c13948270290a5df0ae9d805733
SHA256 (.footprint) = 46e38c743630719fc5db8383d793d119a83726afb7568114366b2b9c2d3ed80b
SHA256 (i3status-rust-0.20.0-01.tar.gz) = 9c019872fb670cf8921846ff9563b744859552d16acbad20ba9e1ab0d9d16c30

View File

@ -6,7 +6,7 @@
name=i3status-rust
version=0.20.0
release=1
release=2
source=(https://github.com/greshake/i3status-rust/archive/v$version/$name-$version-01.tar.gz)
build() {
@ -16,7 +16,7 @@ build() {
# configure optional dependencies
[[ -e /usr/lib/libnotmuch.so ]] && PKGMK_I3STATUS_RUST+=' notmuch'
[[ -e /usr/lib/pkgconfig/libpulse.pc ]] && PKGMK_I3STATUS_RUST+=' libpulse-binding'
[[ -e /usr/lib/pkgconfig/libpulse.pc ]] && PKGMK_I3STATUS_RUST+='pulseaudio'
cargo update --manifest-path $name-$version/Cargo.toml
@ -27,4 +27,15 @@ build() {
|| cargo build --manifest-path $name-$version/Cargo.toml --release --no-default-features
install -Dt $PKG/usr/bin $name-$version/target/release/i3status-rs
# https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=i3status-rust-git#n44
install -Dm644 $name-$version/man/i3status-rs.1 -t "$PKG/usr/share/man/man1"
for icon_set in $name-$version/files/icons/*.toml; do
install -Dm644 "$icon_set" -t "$PKG/usr/share/${name%-*}/icons"
done
for theme in $name-$version/files/themes/*.toml; do
install -Dm644 "$theme" -t "$PKG/usr/share/${name%-*}/themes"
done
}