blob: 0e540090419366f3271214db58a3efda0dcb5897 (
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
|
# Contributor: Marvin Preuss <marvin@xsteadfastx.org>
# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
pkgname=viddy
pkgver=0.2.1
pkgrel=2
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"
export GOFLAGS="$GOFLAGS -modcacherw"
build() {
go build -ldflags "-X main.version=$pkgver"
}
check() {
go test ./...
}
package() {
install -Dm755 $pkgname "$pkgdir"/usr/bin/"$pkgname"
}
sha512sums="
66b1a03055d1ce1282e31d57eee78959e5c3f6ca2b0c483759069eb5fad8146e0751713994b1f29755d1ec8868841803320499dd3f87e1a3b010327fa0a43132 viddy-0.2.1.tar.gz
"
|