summaryrefslogtreecommitdiffstats
path: root/system/makepasswd/makepasswd.SlackBuild
diff options
context:
space:
mode:
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 27d0a4e0d3..cf6133605a 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 \) \