summaryrefslogtreecommitdiffstats
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
parentfa2919fe47f192976eadcf6c257465d6b9500e03 (diff)
downloadslackbuilds-f38fd7af1c1302a20efc187d52afe2c267dbf7fe.tar.gz
system/distorm3: Changed to github.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/distorm3/distorm3.SlackBuild7
-rw-r--r--system/distorm3/distorm3.info4
2 files changed, 6 insertions, 5 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 \
diff --git a/system/distorm3/distorm3.info b/system/distorm3/distorm3.info
index c5d30197b5..2fcb1a7e65 100644
--- a/system/distorm3/distorm3.info
+++ b/system/distorm3/distorm3.info
@@ -1,8 +1,8 @@
PRGNAM="distorm3"
VERSION="3.3.0"
HOMEPAGE="https://github.com/gdabah/distorm"
-DOWNLOAD="https://pypi.python.org/packages/source/d/distorm3/distorm3-3.3.0.zip"
-MD5SUM="ba4b803de4adc1f738a7e489640115c9"
+DOWNLOAD="https://github.com/gdabah/distorm/archive/v3.3.0.tar.gz"
+MD5SUM="9bf35b3632db37abb83602a0472e9743"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""