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

28 lines
924 B
Text

# Contributor: fossdd <fossdd@pwned.life>
# Maintainer: fossdd <fossdd@pwned.life>
pkgname=hare-unicode
pkgver=0_git20240417
_commit=1488c26f46f7f8568235eaee6224983ac46e78ff
pkgrel=1
pkgdesc="Hare unicode database"
url="https://git.sr.ht/~sircmpwn/hare-unicode"
arch="noarch !armhf !armv7 !ppc64le !s390x !x86 !loongarch64" # blocked by hare
license="MPL-2.0"
checkdepends="hare"
source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hare-unicode/archive/$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
export HARECACHE="${HARECACHE:-"$srcdir/hare-cache"}"
check() {
hare test
}
package() {
install -vdm755 "$pkgdir/usr/src/hare/third-party"
cp -Rdv "unicode" "$pkgdir/usr/src/hare/third-party"
}
sha512sums="
a72c13482b193f23e92ce557655ee552622ec191298d0d2539fb40925c8a5b8629ece96463673c42509285a82ccb1fd20aee9018e191c50e432462ade6768f8b hare-unicode-1488c26f46f7f8568235eaee6224983ac46e78ff.tar.gz
"