diff --git a/bat-alert/APKBUILD b/bat-alert/APKBUILD new file mode 100644 index 0000000..324b60c --- /dev/null +++ b/bat-alert/APKBUILD @@ -0,0 +1,25 @@ +# Contributor: Patrycja Rosa +# Maintainer: Patrycja Rosa +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 +"