bat-alert: new ptrcport
This commit is contained in:
parent
d8ec2f14b1
commit
4830fa1460
1 changed files with 25 additions and 0 deletions
25
bat-alert/APKBUILD
Normal file
25
bat-alert/APKBUILD
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# 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
|
||||||
|
"
|
Loading…
Reference in a new issue