aboutsummaryrefslogtreecommitdiffstats
path: root/community/websocketd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/websocketd/APKBUILD')
-rw-r--r--community/websocketd/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/community/websocketd/APKBUILD b/community/websocketd/APKBUILD
index dd96e417760..14457e75fc9 100644
--- a/community/websocketd/APKBUILD
+++ b/community/websocketd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=websocketd
pkgver=0.4.1
-pkgrel=1
+pkgrel=22
pkgdesc="Like inetd, but for WebSockets. Turn any application that uses STDIO/STDOUT into a WebSocket server."
url="https://github.com/joewalnes/websocketd"
license="BSD-2-Clause"
@@ -15,6 +15,10 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/joewalnes/websocketd/archive
make.patch
"
+export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
+export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
+export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
+
build() {
make websocketd
}