i3status-rust: fixed path for themes and icons, added more optional dependencies, fixed source distfile name
This commit is contained in:
parent
4782d381c9
commit
af1ebdbd5e
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF38mRJ5Hp8rQJ7tqzkrWarGReqlhcrpEgqykLKFPv9pA51k+CxFQKrWfPlRfhxtN63PsudCytewoETr2LZVtoLQo=
|
||||
SHA256 (Pkgfile) = 8e0ccfbe3c00168d0c89786f7208d29e05413c13948270290a5df0ae9d805733
|
||||
RWSagIOpLGJF3w9p9gmv2eeSI6Dz3UibSWxUOI7cd6cLTR/31uCtqvDqorns4+VovLNmywyx4rD6Ei1vyTwFS6VxHI+m3BZRyQ4=
|
||||
SHA256 (Pkgfile) = 6a714cb45aab34d351853b5041e4643a9eb5ee27959bad709872438a0f26445b
|
||||
SHA256 (.footprint) = 61b3ba38d95c2ab60e74731f8fd51ce7748056a77d8618e6832b94fb9abc9e5f
|
||||
SHA256 (i3status-rust-0.20.0-01.tar.gz) = 9c019872fb670cf8921846ff9563b744859552d16acbad20ba9e1ab0d9d16c30
|
||||
SHA256 (i3status-rust-0.20.0.tar.gz) = 9c019872fb670cf8921846ff9563b744859552d16acbad20ba9e1ab0d9d16c30
|
||||
|
@ -2,12 +2,12 @@
|
||||
# URL: https://github.com/greshake/i3status-rust
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: dbus rust
|
||||
# Optional: notmuch pulseaudio
|
||||
# Optional: alsa-utils bluez curl font-powerline font-awesome-compat kdeconnect lm_sensors notmuch pulseaudio upower
|
||||
|
||||
name=i3status-rust
|
||||
version=0.20.0
|
||||
release=2
|
||||
source=(https://github.com/greshake/i3status-rust/archive/v$version/$name-$version-01.tar.gz)
|
||||
release=3
|
||||
source=(https://github.com/greshake/i3status-rust/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
|
||||
@ -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+='pulseaudio'
|
||||
[[ -e /usr/lib/pkgconfig/libpulse.pc ]] && PKGMK_I3STATUS_RUST+=' libpulse-binding'
|
||||
|
||||
cargo update --manifest-path $name-$version/Cargo.toml
|
||||
|
||||
@ -32,10 +32,10 @@ build() {
|
||||
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"
|
||||
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"
|
||||
install -Dm644 $theme -t $PKG/usr/share/$name/themes
|
||||
done
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user