mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-06 01:02:26 +01:00
24 lines
645 B
Plaintext
24 lines
645 B
Plaintext
# Maintainer: Willow Barraco <contact@willowbarraco.fr>
|
|
pkgname=harsh
|
|
pkgver=0.8.28
|
|
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="
|
|
108332903321c8973ef2406ecfc44eb46a86e6d58a5d7c9e53792634aaa18ef5c203a6851c03dcd782de69cc90d0c79ff50d8634f37117702075e420ffef379c harsh-0.8.28.tar.gz
|
|
"
|