aboutsummaryrefslogtreecommitdiff
path: root/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2020-04-23 16:36:42 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-24 08:18:57 +0700
commit69d0081ab96a7fee349a7f3e154cee8ee941f146 (patch)
tree1d7c3d3fd0a122386e9b8a08c523c2d05536a474 /network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
parentadfcd9d8cc629c6096d8bb69eb35acf14bcf839e (diff)
network/dnscrypt-proxy: Updated for version 2.0.42.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild')
-rw-r--r--network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild b/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
index 52f80592301a5..01a89c316eead 100644
--- a/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
+++ b/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild
@@ -27,7 +27,7 @@
# significantly improved the value of this script!
PRGNAM=dnscrypt-proxy
-VERSION=${VERSION:-2.0.25}
+VERSION=${VERSION:-2.0.42}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,7 +67,7 @@ mkdir -p $PRGNAM-$VERSION/src/$DOMAIN/$ORG
cd $PRGNAM-$VERSION/src/$DOMAIN/$ORG
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
mv $PRGNAM-$VERSION $PRGNAM
-cd $PRGNAM
+cd $TMP/$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -79,6 +79,8 @@ export GOPATH="$TMP/$PRGNAM-$VERSION"
go install -a -x ./...
+cd $TMP/$PRGNAM-$VERSION/src/$DOMAIN/$ORG/$PRGNAM
+
mkdir -p $PKG/usr/sbin
install -m 755 "$TMP/$PRGNAM-$VERSION/bin/${PRGNAM}" $PKG/usr/sbin/${PRGNAM}