mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
# Contributor: Galen Abell <galen@galenabell.com>
|
|
# Contributor: Maxim Karasev <begs@disroot.org>
|
|
# Maintainer: Galen Abell <galen@galenabell.com>
|
|
pkgname=i3status-rust
|
|
pkgver=0.21.10
|
|
pkgrel=0
|
|
pkgdesc="i3status replacement in Rust"
|
|
url="https://github.com/greshake/i3status-rust"
|
|
arch="all !s390x !riscv64" # limited by cargo
|
|
license="GPL-3.0-only"
|
|
makedepends="rust cargo dbus-dev openssl-dev libpulse lm-sensors-dev"
|
|
options="net !check" # no tests
|
|
provides="i3status-rs"
|
|
subpackages="$pkgname-doc"
|
|
source="https://github.com/greshake/i3status-rust/archive/v$pkgver/i3status-rust-$pkgver.tar.gz"
|
|
|
|
build() {
|
|
cargo build --release --verbose --locked
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 target/release/i3status-rs "$pkgdir"/usr/bin/i3status-rs
|
|
|
|
install -Dm644 man/i3status-rs.1 "$pkgdir"/usr/share/man/man1/i3status-rs.1
|
|
|
|
install -Dm644 -t "$pkgdir"/usr/share/i3status-rust/themes files/themes/*
|
|
install -Dm644 -t "$pkgdir"/usr/share/i3status-rust/icons files/icons/*
|
|
}
|
|
|
|
sha512sums="
|
|
8fdcf311b234cb237a46aa8fbb76d72b8a44a068669ace30af81a19e4843968eefd5f38f0679645b5c4ec216f5852323441fc5c1705cd90708550f187b194cbb i3status-rust-0.21.10.tar.gz
|
|
"
|