summaryrefslogtreecommitdiff
path: root/testing/uni/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/uni/APKBUILD')
-rw-r--r--testing/uni/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/uni/APKBUILD b/testing/uni/APKBUILD
index e42a7ee1e89..624a1209283 100644
--- a/testing/uni/APKBUILD
+++ b/testing/uni/APKBUILD
@@ -11,8 +11,10 @@ makedepends="go"
options="!check" # no test files
source="$pkgname-$pkgver.tar.gz::https://github.com/arp242/uni/archive/v$pkgver.tar.gz"
-export GOPATH="$srcdir"
export GOFLAGS="$GOFLAGS -trimpath -mod=readonly -modcacherw"
+export GOCACHE="$srcdir/go-cache"
+export GOTMPDIR="$srcdir"
+export GOMODCACHE="$srcdir/go"
build() {
go build -v .