# Maintainer: Willow Barraco pkgname=bonsai pkgver=1.0.1 pkgrel=0 pkgdesc="A Finite State Machine structured as a tree that trigger commands" url="https://sr.ht/~stacyharper/bonsai/" arch="x86_64 aarch64 riscv64" # hare license="AGPL-3.0-or-later" makedepends="hare hare-json hare-ev" source="$pkgname-v$pkgver.tar.gz::https://git.sr.ht/~stacyharper/$pkgname/archive/v$pkgver.tar.gz" builddir="$srcdir/$pkgname-v$pkgver" build() { # Don't use user's global Hare cache export XDG_CACHE_HOME="$srcdir"/hare-cache mkdir -p "$XDG_CACHE_HOME" unset LDFLAGS make -j1 } check() { make check } package() { make DESTDIR="$pkgdir" PREFIX="/usr" install } sha512sums=" b7986670e8c08e2c9452bb539afbd235f9ec5109f23d3f0c46c46addcbaf9e7f1db183b9037cba18f0d1360cb851f7ba0d5c7b55851cee2938cd859719e5737e bonsai-v1.0.1.tar.gz "