26 lines
714 B
Text
26 lines
714 B
Text
|
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
|
||
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
||
|
pkgname=bat-alert
|
||
|
pkgver=0.2.0
|
||
|
pkgrel=0
|
||
|
pkgdesc="battery alerts"
|
||
|
url="https://git.ddd.rip/ptrcnull/bat-alert"
|
||
|
arch="aarch64 x86_64"
|
||
|
license="custom"
|
||
|
makedepends="zig"
|
||
|
source="$pkgname-$pkgver.tar.gz::https://git.ddd.rip/ptrcnull/bat-alert/archive/v$pkgver.tar.gz"
|
||
|
builddir="$srcdir/bat-alert"
|
||
|
options="!check" # meow
|
||
|
|
||
|
build() {
|
||
|
zig build -Doptimize=ReleaseSmall
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
install -Dm755 zig-out/bin/bat-alert "$pkgdir"/usr/bin/bat-alert
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
b101e95e222b3ae4083ba543e6fbcd9fc7fcf0b149bb70a83c6ce9f9f412edcf06d175f77ec65b7d1a172b19fba1d1611a06353e9068c45d7ae5bdaa37b35547 bat-alert-0.2.0.tar.gz
|
||
|
"
|