diff options
author | Tim Biermann <tbier@posteo.de> | 2021-05-09 13:23:13 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-05-09 13:23:13 +0000 |
commit | a372acf4846e74a2d98a8c2e245d7a06dd11643e (patch) | |
tree | 6928a96c771ed4530d6f90c63f4e641c76f6d247 /i3status-rust | |
parent | cf2c7d9faffa2b64fe734e348d34e82f3dc41d24 (diff) | |
download | contrib-a372acf4846e74a2d98a8c2e245d7a06dd11643e.tar.gz contrib-a372acf4846e74a2d98a8c2e245d7a06dd11643e.tar.xz |
i3status-rust: added themes, icons and manpage
Diffstat (limited to 'i3status-rust')
-rw-r--r-- | i3status-rust/.signature | 4 | ||||
-rw-r--r-- | i3status-rust/Pkgfile | 15 |
2 files changed, 15 insertions, 4 deletions
diff --git a/i3status-rust/.signature b/i3status-rust/.signature index 1a62e6a5e..74a409605 100644 --- a/i3status-rust/.signature +++ b/i3status-rust/.signature @@ -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 diff --git a/i3status-rust/Pkgfile b/i3status-rust/Pkgfile index c9c045427..7c68b8eda 100644 --- a/i3status-rust/Pkgfile +++ b/i3status-rust/Pkgfile @@ -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 } |