From d9e95826c086ba4b679198c1d458746d48ef8b3e Mon Sep 17 00:00:00 2001 From: psykose Date: Thu, 4 Aug 2022 10:32:56 +0000 Subject: testing/*: add gocache vars see cffbff77e1cf386d901febec4a35b2a905065514 --- testing/uni/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'testing/uni/APKBUILD') 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 . -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0