summaryrefslogtreecommitdiffstats
path: root/network/go-sendxmpp/go-sendxmpp.SlackBuild
diff options
context:
space:
mode:
author Alexander Verbovetsky <alik@ejik.org>2022-10-21 23:13:30 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-29 10:28:32 +0700
commit4a1976343736d779d6e2672da01e58f44cd2cd4d (patch)
tree1153a6d98846d48bfe4831600859a1e7073666c2 /network/go-sendxmpp/go-sendxmpp.SlackBuild
parent846cad68f204cbdbd55e863330dca52036c19163 (diff)
downloadslackbuilds-4a1976343736d779d6e2672da01e58f44cd2cd4d.tar.gz
slackbuilds-4a1976343736d779d6e2672da01e58f44cd2cd4d.tar.xz
network/go-sendxmpp: Updated for version 0.5.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 cbd620db5a..2cc3e2d5b1 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 .