# Maintainer: Simon Zeni pkgname=hare-json pkgver=0_git20230225 _commit=57b96f905e2b99f4b4d5f273a22dc3bc7c796513 pkgrel=2 pkgdesc="JSON support for Hare" url="https://sr.ht/~sircmpwn/hare-json" arch="x86_64 aarch64" # hare license="MPL-2.0" makedepends="hare" source=" $pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hare-json/archive/$_commit.tar.gz " builddir="$srcdir/$pkgname-$_commit" build() { # Hare actually passes LDFLAGS to LD, not to CC, who would've thunk unset LDFLAGS make -j1 PREFIX=/usr } check() { make check } package() { make DESTDIR="$pkgdir" PREFIX=/usr install } sha512sums=" 5399b3a847cd2618d2b86576cda886799abc2bd60a0e5e34b50df1c2b8ef8259391c281cab3846cfe7df7524e9d6d54f67eba6d6e76d8d877b1ed86c15371dfd hare-json-57b96f905e2b99f4b4d5f273a22dc3bc7c796513.tar.gz "