summaryrefslogtreecommitdiff
path: root/testing/antibody/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/antibody/APKBUILD')
-rw-r--r--testing/antibody/APKBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/antibody/APKBUILD b/testing/antibody/APKBUILD
index 16aff95d00f..5e0c1572c1a 100644
--- a/testing/antibody/APKBUILD
+++ b/testing/antibody/APKBUILD
@@ -13,6 +13,9 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/getantibody/antibody/archive
options="!check" # uses removed github api
export GOFLAGS="$GOFLAGS -modcacherw"
+export GOCACHE="$srcdir/go-cache"
+export GOTMPDIR="$srcdir"
+export GOMODCACHE="$srcdir/go"
build() {
go build -o antibody -ldflags "-X main.version=$pkgver" -trimpath