aboutsummaryrefslogtreecommitdiffstats
path: root/community/viddy/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/viddy/APKBUILD')
-rw-r--r--community/viddy/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/viddy/APKBUILD b/community/viddy/APKBUILD
new file mode 100644
index 0000000000..5d9e8239a1
--- /dev/null
+++ b/community/viddy/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Marvin Preuss <marvin@xsteadfastx.org>
+# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
+pkgname=viddy
+pkgver=0.2.1
+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"
+
+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
+"