aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarvin Preuss <marvin@xsteadfastx.org>2021-08-19 09:18:42 +0200
committerdispatch <dispatch@listserv.local>2021-08-19 07:18:53 +0000
commitfccee5b9f153003aff9f0fa61a1988c6a606cf83 (patch)
treeda14a38ac84411dfea3ff62443e80f5368d1ec05
parentc221491b4e1ee1486069c0e31b516b396f86a91b (diff)
downloadaports-patches/3610.tar.gz
aports-patches/3610.tar.bz2
aports-patches/3610.tar.xz
testing/viddy: new aportpatches/3610
-rw-r--r--testing/viddy/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/viddy/APKBUILD b/testing/viddy/APKBUILD
new file mode 100644
index 0000000000..37a62783a2
--- /dev/null
+++ b/testing/viddy/APKBUILD
@@ -0,0 +1,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
+"