Subject: [PATCH] testing/khinsider: new aport

From: Edd Salkield <[email-masked]>
Date: Sat, 2 Jul 2022 03:35:56 +0100

https://github.com/marcus-crane/khinsider
A khinsider downloader written in Go
---
 testing/khinsider/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 testing/khinsider/APKBUILD

diff --git a/testing/khinsider/APKBUILD b/testing/khinsider/APKBUILD
new file mode 100644
index 0000000000..1cbb7b4106
--- /dev/null
+++ b/testing/khinsider/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Edd Salkield <[email-masked]>
+# Maintainer: Edd Salkield <[email-masked]>
+pkgname=khinsider
+pkgver=2.0.6
+pkgrel=0
+pkgdesc="A khinsider downloader written in Go"
+url="https://github.com/marcus-crane/khinsider"
+arch="all"
+license="MIT"
+makedepends="go"
+source="https://github.com/marcus-crane/khinsider/archive/v$pkgver/khinsider-v$pkgver.tar.gz"
+builddir="$srcdir/khinsider-$pkgver"
+options="!check net"	# No upstream tests
+
+prepare() {
+	default_prepare
+	go mod download
+}
+
+build() {
+    go build
+}
+
+package() {
+    install -Dm755 "$builddir"/khinsider "$pkgdir"/usr/bin/khinsider
+}
+
+sha512sums="
+af8bfe3d17d07d8fd51caa01fc7b397be953cc801433905fbf37c4b2b44d8a90bfea388452081f57733dbfbd054e891e5bfe0bc7eca3a82026725a5b5ee0d0cb  khinsider-v2.0.6.tar.gz
+"
-- 
2.36.1