Subject: [PATCH] testing/up: new aport

From: Francesco Camuffo <[email-masked]>
Date: Thu, 1 Apr 2021 23:49:37 +0200

https://github.com/akavel/up
Ultimate Plumber is a tool for writing Linux pipes with instant live preview
---
 testing/up/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/up/APKBUILD

diff --git a/testing/up/APKBUILD b/testing/up/APKBUILD
new file mode 100644
index 0000000000..bb9a23b933
--- /dev/null
+++ b/testing/up/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Francesco Camuffo <[email-masked]>
+# Maintainer: Francesco Camuffo <[email-masked]>
+pkgname=up
+pkgver=0.4
+pkgrel=0
+pkgdesc="Ultimate Plumber is a tool for writing Linux pipes with instant live preview"
+url="https://github.com/akavel/up"
+arch="all"
+license="Apache-2.0"
+makedepends="go"
+source="$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
+
+export GOPATH="$srcdir"
+export GO111MODULES=on
+
+build() {
+	go build -v -o bin/$pkgname
+}
+
+check() {
+	go test
+}
+
+package() {
+	install -Dm755 bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+}
+
+cleanup_srcdir() {
+	go clean -modcache
+	default_cleanup_srcdir
+}
+
+sha512sums="f9032decec6f2288a50c91fbc25d76fb572e8942f035382067fdad79dd319fb42251d6b0df0d65d1eb9a9632b8431122951a4509c06dae759def3075014dcdd0  up-0.4.tar.gz"
-- 
2.30.2