diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/distorm3/distorm3.SlackBuild | 7 | ||||
-rw-r--r-- | system/distorm3/distorm3.info | 4 |
2 files changed, 6 insertions, 5 deletions
diff --git a/system/distorm3/distorm3.SlackBuild b/system/distorm3/distorm3.SlackBuild index d17edb9768a8..b9b8a0ea1829 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 c5d30197b550..2fcb1a7e653b 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="" |