aports/testing/hare-scfg/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

30 lines
811 B
Text

# Contributor: Francesco Camuffo <dev@fmac.xyz>
# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=hare-scfg
pkgver=0.24.2
pkgrel=1
pkgdesc="scfg implementation for Hare"
url="https://git.sr.ht/~chrisppy/hare-scfg"
arch="noarch !armhf !armv7 !ppc64le !s390x !x86 !loongarch64" # blocked by hare
license="MPL-2.0"
makedepends="hare"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~chrisppy/hare-scfg/archive/$pkgver.tar.gz"
export HARECACHE="${HARECACHE:-"$srcdir/hare-cache"}"
build() {
make -j1 PREFIX=/usr
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
}
sha512sums="
bb9ced6a13f794f84b93174d58c59110003025e9ce449022683b9b779bb9dc5d34c9cdfa8be83d7c8e0645edf928ec8af2506f3c268b9bc9aea7a2b5e73b2916 hare-scfg-0.24.2.tar.gz
"