diff options
Diffstat (limited to 'testing/clash/APKBUILD')
-rw-r--r-- | testing/clash/APKBUILD | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/clash/APKBUILD b/testing/clash/APKBUILD index 89b655499ed..a6d1c071411 100644 --- a/testing/clash/APKBUILD +++ b/testing/clash/APKBUILD @@ -13,9 +13,12 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/Dreamacro/clash/archive/refs clash.initd" options="!check" # The upstream does not provide a proper way to test the pakcage +export GOCACHE="$srcdir/go-cache" +export GOTMPDIR="$srcdir" +export GOMODCACHE="$srcdir/go" +export GOFLAGS="$GOFLAGS -modcacherw" + build() { - export GOFLAGS="$GOFLAGS -modcacherw" - export GOPATH="$builddir"/gopath make VERSION="v$pkgver" docker } |