Subject: [PATCH] testing/circumflex: new aport

From: KAAtheWise <[email-masked]>
Date: Fri, 12 May 2023 09:12:09 +0000

---
 testing/circumflex/APKBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 testing/circumflex/APKBUILD

diff --git a/testing/circumflex/APKBUILD b/testing/circumflex/APKBUILD
new file mode 100644
index 00000000000..349a89c02de
--- /dev/null
+++ b/testing/circumflex/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: KAA the Wise <[email-masked]>
+# Maintainer: KAA the Wise <[email-masked]>
+pkgname=circumflex
+pkgver=2.9.1
+pkgrel=0
+pkgdesc="A command line tool for browsing Hacker News in your terminal"
+url="https://github.com/bensadeh/circumflex/"
+arch="all"
+license="AGPL-3.0-or-later"
+makedepends="go"
+source="$pkgname-$pkgver.tar.gz::https://github.com/bensadeh/circumflex/archive/$pkgver.tar.gz"
+
+export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
+export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
+export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
+
+build() {
+	go build -o bin/clx
+}
+
+check() {
+	go test ./...
+}
+
+package() {
+	install -Dm755 bin/clx -t "$pkgdir"/usr/bin
+}
+
+sha512sums="
+eb9c929afea269bdadefd0f0f4798faa711a89efe90dc092f7d1e424306aa6d644e987c0b80713cd7d8788352104f1bd329bc65a178abdbc7b35df89d0cd2ac8  circumflex-2.9.1.tar.gz
+"
-- 
2.40.1