Subject: [PATCH] testing/cgo: new aport

From: KikooDX <[email-masked]>
Date: Sun, 21 Mar 2021 13:50:04 +0100

https://github.com/kieselsteini/cgo
Simple terminal gopher client
---
 testing/cgo/APKBUILD | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 testing/cgo/APKBUILD

diff --git a/testing/cgo/APKBUILD b/testing/cgo/APKBUILD
new file mode 100644
index 0000000000..5893b8eb18
--- /dev/null
+++ b/testing/cgo/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: KikooDX <[email-masked]>
+# Maintainer: KikooDX <[email-masked]>
+pkgname=cgo
+pkgver=0.6.1
+pkgrel=0
+pkgdesc="Simple terminal gopher client"
+url="https://github.com/kieselsteini/cgo"
+arch="all"
+license="0BSD"
+subpackages="$pkgname-doc"
+options="!check" # there is no test suite
+source="$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz"
+
+build() {
+	make
+}
+
+package() {
+	make PREFIX=/usr DESTDIR="$pkgdir" install
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+sha512sums="bbf0d6f366d34e62411424620a1f31b70a13243104d6bb5c2e7197f5dc34bc517fb2430fb06772e9c7175c83372e2c71729dd3e775afbb89745e27817b840708  cgo-0.6.1.tar.gz"
-- 
2.31.0