aboutsummaryrefslogtreecommitdiffstats
path: root/testing/viddy/APKBUILD
blob: 37a62783a2240fd0a877d38fabd7945563c8a319 (plain) (blame)
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
29
# Contributor: Marvin Preuss <marvin@xsteadfastx.org>
# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
pkgname=viddy
pkgver=0.1.5
pkgrel=0
pkgdesc="Modern watch command. Time machine and pager etc."
url="https://github.com/sachaos/viddy"
arch="all"
license="MIT"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/sachaos/viddy/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

export GOFLAGS="$GOFLAGS -modcacherw"

build() {
	go build -ldflags "-X main.version=$pkgver"
}

check() {
	go test ./...
}

package() {
	install -Dm755 $pkgname "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
60e5966ad5c8435c110a309a53e406c7fe4b74d1162c84209c63d878f5aed0d0e31733eed71b43d95227c29e4ae1de41386f82252304106538667f8209fc75df  viddy-0.1.5.tar.gz
"