aboutsummaryrefslogtreecommitdiffstats
path: root/community/hey/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/hey/APKBUILD')
-rw-r--r--community/hey/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/community/hey/APKBUILD b/community/hey/APKBUILD
index 8d98200abe9..bee6b601cd4 100644
--- a/community/hey/APKBUILD
+++ b/community/hey/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=hey
pkgver=0.1.4
-pkgrel=8
+pkgrel=23
pkgdesc="HTTP load generator"
url="https://github.com/rakyll/hey"
arch="all"
@@ -10,10 +10,9 @@ license="Apache-2.0"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/rakyll/hey/archive/v$pkgver.tar.gz"
-export CGO_ENABLED=0
-export GOCACHE="$srcdir/go-cache"
-export GOTMPDIR="$srcdir"
-export GOMODCACHE="$srcdir/go"
+export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
+export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
+export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
build() {
go build -v