aports/testing/runst/APKBUILD
2023-08-12 16:33:11 +00:00

43 lines
1013 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Contributor: Orhun Parmaksız <orhunparmaksiz@gmail.com>
# Maintainer: Orhun Parmaksız <orhunparmaksiz@gmail.com>
pkgname=runst
pkgver=0.1.5
pkgrel=0
pkgdesc="Dead simple notification daemon"
url="https://github.com/orhun/runst"
arch="all !s390x"
license="MIT OR Apache-2.0"
makedepends="
cargo
cargo-auditable
dbus-glib-dev
pango-dev
"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/orhun/runst/archive/v$pkgver.tar.gz"
options="net"
prepare() {
default_prepare
cargo fetch --target="$CTARGET" --locked
}
build() {
cargo auditable build --release --frozen
}
check() {
cargo test --frozen
}
package() {
install -Dm 755 "target/release/runst" -t "$pkgdir/usr/bin"
install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
install -Dm 644 LICENSE-MIT -t "$pkgdir/usr/share/licenses/$pkgname"
}
sha512sums="
341a33c66d6b77dc660686283cdaf816fbbcf75c1a2cb661936d345d90b91e919ae8f91a6ba6fd17a7bf1053349c695c1514829015478d1cfbbe4dcccfb74a72 runst-0.1.5.tar.gz
"