aports/testing/haredo/APKBUILD
omni 6791c7ff38 testing/*: add HARECACHE env var to hare aports
to make sure no old cache is used during build, like what we do for
golang aports
2024-11-28 16:14:20 +00:00

29 lines
734 B
Text

# Maintainer: Umar Getagazov <umar@handlerug.me>
pkgname=haredo
pkgver=1.0.5
pkgrel=1
pkgdesc="Simple, Unix-idiomatic build automator"
url="https://sr.ht/~autumnull/haredo"
arch="x86_64 aarch64 riscv64" # Hare
license="WTFPL"
makedepends="hare scdoc"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~autumnull/haredo/archive/$pkgver.tar.gz"
export HARECACHE="${HARECACHE:-"$srcdir/hare-cache"}"
build() {
./bootstrap.sh
}
check() {
PATH="$builddir/bin:$PATH" haredo test
}
package() {
PREFIX="$pkgdir"/usr ./bootstrap.sh install
}
sha512sums="
625061a492258a767bfaedffaafc441a71af941a68859b32f5b5890911c60062c3c7cce5cbf623cce8c4295032ff5f88fde01ad4bc24a84f6dc6d268b46e8528 haredo-1.0.5.tar.gz
"