ptrcports/abr/APKBUILD

46 lines
853 B
Text

# Maintainer: psykose <alice@ayaya.dev>
pkgname=abr
pkgver=12
pkgrel=0
pkgdesc="abr~!"
url="https://git.ddd.rip/ptrcnull/aports"
arch="noarch"
license="ISC"
# chrt, ionice
depends="
abuild
execline
util-linux-misc
"
checkdepends="
shellcheck
shfmt
"
source="
abr
apkbuild-anitya
"
builddir="$srcdir"
options="!check" # manual
check() {
shellcheck -s sh .
shfmt \
--diff \
--simplify \
--posix \
--indent 3 \
--space-redirects \
--binary-next-line \
.
}
package() {
install -Dm755 abr apkbuild-anitya \
-t "$pkgdir"/usr/bin/
}
sha512sums="
337868e81aeee37323afeb967b7c8fb1ab9b768459a251eca8670f2f9a26fabfb30f7609a96200cc3f2ffc051ab035b7ecf22f9e03c86e3bce00e434f935335e abr
71d8cb1e5e57ff739915fa4de1f5699afa60ab36e2e5219c4c366af5ceab24dc6ee55e738d29ca2b63dd5e387de7661594fc86bf2183d787932e75b4c03c6a9f apkbuild-anitya
"