diff options
Diffstat (limited to 'system/docker-proxy/docker-proxy.SlackBuild')
-rw-r--r-- | system/docker-proxy/docker-proxy.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/system/docker-proxy/docker-proxy.SlackBuild b/system/docker-proxy/docker-proxy.SlackBuild index e8c00a2411..9b9c1e6444 100644 --- a/system/docker-proxy/docker-proxy.SlackBuild +++ b/system/docker-proxy/docker-proxy.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for docker-proxy -# Copyright 2017 Audrius Kažukauskas <audrius@neutrino.lt> +# Copyright 2017-2018 Audrius Kažukauskas <audrius@neutrino.lt> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=docker-proxy -VERSION=${VERSION:-20170120_7b2b1fe} -GITHASH=${GITHASH:-7b2b1feb1de4817d522cc372af149ff48d25028e} +VERSION=${VERSION:-20180314_1b91bc9} +GITHASH=${GITHASH:-1b91bc94094ecfdae41daa465cc0c8df37dfb3dd} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,6 +57,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +mkdir build +mv vendor build/src + +GOPATH=$TMP/$SRCNAM-$GITHASH/build \ go build -o $PKG/usr/bin/docker-proxy ./cmd/proxy mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |