mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 06:12:14 +01:00
43 lines
1013 B
Plaintext
43 lines
1013 B
Plaintext
# 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
|
||
"
|