blob: a4cf5d0baf6aeb6e09b7e97390b81da4e6341b3c (
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
|
# Maintainer: Temuri Takalandze <takalandzet@gmail.com>
pkgname=goclockify
pkgver=1.2.0
pkgrel=1
pkgdesc='A terminal based client for Clockify time tracker'
arch=('x86_64')
url='https://github.com/ABGEO/goclockify'
license=('MIT')
makedepends=('go' 'make')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('69f0bf1fbc0a005a9a7579ef47ad24e39df6c326c71f3439f1be7695ba9a463c')
pkgver() {
cd "${srcdir}/${pkgname}-${pkgver}"
go run cmd/goclockify/main.go --version
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make build-linux-binary
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
install -Dm755 build/output/$pkgname-$pkgver-linux-amd64 "$pkgdir"/usr/bin/$pkgname
}
|