Forgot to set "-mocacherw", so the src dir can be removed.
---
testing/ali/APKBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
create mode 100644 testing/ali/APKBUILD
diff --git a/testing/ali/APKBUILD b/testing/ali/APKBUILD
new file mode 100644
index 0000000000..95616fdd57
--- /dev/null
+++ b/testing/ali/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Marvin Preuss <marvin@xsteadfastx.org>
+# Maintainer: Marvin Preuss <marvin@xsteadfastx.org>
+pkgname=ali
+pkgver=0.7.2
+pkgrel=0
+pkgdesc="Generate HTTP load and plot the results in real-time"
+url="https://github.com/nakabonne/ali"
+arch="all"
+license="MIT"
+makedepends="go"
+source="$pkgname-$pkgver.tar.gz::https://github.com/nakabonne/ali/archive/refs/tags/v$pkgver.tar.gz"
+
+export GOPATH="$srcdir"
+export GOFLAGS="-modcacherw"
+
+build() {
+ go build \
+ -ldflags "
+ -X \"main.version=$pkgver\" \
+ -X \"main.date=$(date --utc +%Y-%m-%dT%H:%M:%SZ)\" \
+ -X \"main.commit=none\" \
+ "
+}
+
+check() {
+ go test ./...
+}
+
+package() {
+ install -Dm755 $pkgname "$pkgdir"/usr/bin/"$pkgname"
+}
+sha512sums="
+8f20135ce212f508352b39afe6db8499242116a28f9654d908ab25c5b690c5b455c31d0d8eeb91e3251cf979cdad8805349c525dffee37f2e600f9f844d9c456 ali-0.7.2.tar.gz
+"
--
2.32.0