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

33 lines
867 B
Text

# Maintainer: Willow Barraco <contact@willowbarraco.fr>
pkgname=hare-xkb
pkgver=0_git20231011
_commit=f26da188280caa8406d4d6345868f41021fdfdec
pkgrel=1
pkgdesc="Hare interface to the xkbcommon library"
url="https://git.sr.ht/~stacyharper/hare-xkb"
# Currently doesn't build on riscv64
arch="x86_64 aarch64" # hare
license="MPL-2.0"
makedepends="hare"
source="
$pkgname-$_commit.tar.gz::https://git.sr.ht/~stacyharper/hare-xkb/archive/$_commit.tar.gz
"
builddir="$srcdir/$pkgname-$_commit"
export HARECACHE="${HARECACHE:-"$srcdir/hare-cache"}"
build() {
make -j1 PREFIX=/usr
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" PREFIX=/usr install
}
sha512sums="
9962b86e279892ce12e324fa8c68ffc5cbb3604ac153b787b1e27b4faf66b92411fc7d9dc27a27debd946f1eb9fbdfca6f711f803854872bd64ac772c5d5dd33 hare-xkb-f26da188280caa8406d4d6345868f41021fdfdec.tar.gz
"