blob: bb4380c3c7278a7cc880b77d23c1f0ec45419f23 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: envolution
# Contributor: wilke
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=harsh
pkgver=0.10.7
pkgrel=1
pkgdesc="CLI habit tracking for geeks"
arch=('any')
url="https://github.com/wakatara/harsh"
license=('MIT')
makedepends=('go>=1.14')
sha256sums=('b203468d383af0441623cf1c8f2157348841cc86c290acba4bbc0dd828b7da1e')
source=("$pkgname-$pkgver.tgz::https://github.com/wakatara/harsh/archive/refs/tags/v$pkgver.tar.gz")
build() {
cd "$pkgname-$pkgver"
go get ./...
go build -o harsh .
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 harsh -t"$pkgdir/usr/bin/"
}
# vim:set ts=2 sw=2 et:
|