aboutsummaryrefslogtreecommitdiff
path: root/network/go-sendxmpp/go-sendxmpp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/go-sendxmpp/go-sendxmpp.SlackBuild')
-rw-r--r--network/go-sendxmpp/go-sendxmpp.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/network/go-sendxmpp/go-sendxmpp.SlackBuild b/network/go-sendxmpp/go-sendxmpp.SlackBuild
index cbd620db5a72..2cc3e2d5b12f 100644
--- a/network/go-sendxmpp/go-sendxmpp.SlackBuild
+++ b/network/go-sendxmpp/go-sendxmpp.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=go-sendxmpp
-VERSION=${VERSION:-0.5.4}
+VERSION=${VERSION:-0.5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -76,9 +76,10 @@ for DIR in $(grep -o "^# .* " vendor/modules.txt | cut -d' ' -f2)
do
NAME=$(echo $DIR | sed 's/[./]v[0-9]\+$//' | xargs basename)
DIR=vendor/$DIR
- tar xvf $CWD/$NAME-*.tar.gz
+ find -L $CWD -maxdepth 1 -type f -regex ".*/${NAME}-[^-]*\.tar\.gz" \
+ -exec tar xvf '{}' \;
mkdir -p $(dirname $DIR)
- mv $NAME-* $DIR
+ mv ${NAME}-* $DIR
done
chown -R root:root .