aboutsummaryrefslogtreecommitdiff
path: root/system/makepasswd/makepasswd.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-07-16 14:42:05 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-22 06:55:23 +0700
commit632a6f7e1287a56e61d88be0f999674ca70022a6 (patch)
treea9822851977d5fc637e3147ecb3d0c9b49c136b4 /system/makepasswd/makepasswd.SlackBuild
parent7bfa6e1909da4266b6e2c008336cec51f3cd89ad (diff)
system/makepasswd: Switch to github URL.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/makepasswd/makepasswd.SlackBuild')
-rw-r--r--system/makepasswd/makepasswd.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/system/makepasswd/makepasswd.SlackBuild b/system/makepasswd/makepasswd.SlackBuild
index 27d0a4e0d320..cf6133605a5c 100644
--- a/system/makepasswd/makepasswd.SlackBuild
+++ b/system/makepasswd/makepasswd.SlackBuild
@@ -8,6 +8,8 @@
# had no license, modified version released under the WTFPL. See
# http://www.wtfpl.net/txt/copying/ for details.
+# 20170716 bkw: switch to github URLs.
+
# 20170210 bkw:
# - Take over maintenance
# - Update for v0.5.4
@@ -49,12 +51,14 @@ fi
set -e
+TARNAM=$PRGNAM-${PRGNAM}_${VERSION//./-}
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $TARNAM
+tar xvf $CWD/$TARNAM.tar.gz
+cd $TARNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \