summaryrefslogtreecommitdiffstats
path: root/system/distorm3/distorm3.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2016-02-01 12:17:27 +0100
committer Willy Sudiarto Raharjo2016-02-05 01:02:20 +0100
commitf38fd7af1c1302a20efc187d52afe2c267dbf7fe (patch)
tree82e630c9afa38470dff87befc2bb68fc2e990f8d /system/distorm3/distorm3.SlackBuild
parentfa2919fe47f192976eadcf6c257465d6b9500e03 (diff)
downloadslackbuilds-f38fd7af1c1302a20efc187d52afe2c267dbf7fe.tar.gz
system/distorm3: Changed to github.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/distorm3/distorm3.SlackBuild')
-rw-r--r--system/distorm3/distorm3.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/distorm3/distorm3.SlackBuild b/system/distorm3/distorm3.SlackBuild
index d17edb9768..b9b8a0ea18 100644
--- a/system/distorm3/distorm3.SlackBuild
+++ b/system/distorm3/distorm3.SlackBuild
@@ -24,6 +24,7 @@
# Created v3.3.0 December 2015, Barry J. Grundy.
PRGNAM=distorm3
+SRCNAM=distorm
VERSION=${VERSION:-3.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-unzip $CWD/$PRGNAM-$VERSION.zip
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \