summaryrefslogtreecommitdiff
path: root/testing/nsq/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nsq/APKBUILD')
-rw-r--r--testing/nsq/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/testing/nsq/APKBUILD b/testing/nsq/APKBUILD
index 2cf2b42018b..4f8e3568737 100644
--- a/testing/nsq/APKBUILD
+++ b/testing/nsq/APKBUILD
@@ -12,9 +12,12 @@ options="chmod-clean"
source="$pkgname-$pkgver.tar.gz::https://github.com/nsqio/nsq/archive/v$pkgver.tar.gz
glibc-test.patch"
+export GOCACHE="$srcdir/go-cache"
+export GOTMPDIR="$srcdir"
+export GOMODCACHE="$srcdir/go"
+
build() {
go mod download
- export GOPATH="$srcdir/go"
make
}
@@ -30,5 +33,7 @@ package() {
}
-sha512sums="01ef18775a3ee6688fed2c7b85f35099d6b01e9a2f10813b3baa94a6c5a2974abf70ee8d2c6d5aebb6952825ab0a2f986838d3dc35e7b5e06bef3ffa8c0e7c15 nsq-1.2.0.tar.gz
-e0fa26f0a7b412dc4b3e56cb1d557183d86e751862b86f9192fca153232e856713c2cf76f1f063b7595912e4164c7b6e1f33cfec6fab9c7e8e96297646230a22 glibc-test.patch"
+sha512sums="
+01ef18775a3ee6688fed2c7b85f35099d6b01e9a2f10813b3baa94a6c5a2974abf70ee8d2c6d5aebb6952825ab0a2f986838d3dc35e7b5e06bef3ffa8c0e7c15 nsq-1.2.0.tar.gz
+e0fa26f0a7b412dc4b3e56cb1d557183d86e751862b86f9192fca153232e856713c2cf76f1f063b7595912e4164c7b6e1f33cfec6fab9c7e8e96297646230a22 glibc-test.patch
+"