# Maintainer: Willow Barraco pkgname=sxmobar pkgver=1.0.2 pkgrel=0 pkgdesc="A status bar component manager" url="https://git.sr.ht/~stacyharper/sxmobar/" arch="x86_64 aarch64 riscv64" # hare license="AGPL-3.0-or-later" makedepends="hare hare-ev scdoc" subpackages="$pkgname-doc" 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=" d90183e96226dc13c0786c6359c2e679d814aa85cc5a9463a84bfb54d600062f8697a4229ccebff4960b279e1934facb8f5f378420ae542db249302a769eb1ae sxmobar-v1.0.2.tar.gz "