diff options
Diffstat (limited to 'community/harsh/APKBUILD')
-rw-r--r-- | community/harsh/APKBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/community/harsh/APKBUILD b/community/harsh/APKBUILD new file mode 100644 index 00000000000..c4005579603 --- /dev/null +++ b/community/harsh/APKBUILD @@ -0,0 +1,23 @@ +# Maintainer: Willow Barraco <contact@willowbarraco.fr> +pkgname=harsh +pkgver=0.8.31 +pkgrel=2 +pkgdesc="Habit tracking for geeks" +url="https://github.com/wakatara/harsh" +arch="all" +license="MIT" +makedepends="go" +source="$pkgname-$pkgver.tar.gz::https://github.com/wakatara/harsh/archive/refs/tags/v$pkgver.tar.gz" +options="!check" # no test suite + +build() { + go build -v -ldflags="-X main.version=$pkgver" -o harsh . +} + +package() { + install -Dm0755 harsh "$pkgdir"/usr/bin/harsh +} + +sha512sums=" +40823cdc01003e6e1bee3660f64824a25a14121a9d4d78b2de7c64e266661cb7efd2a8443892da3483afa92369db8aa341ceece2523a70159fdbac2189ff2f49 harsh-0.8.31.tar.gz +" |