aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/dtrx/dtrx.SlackBuild7
-rw-r--r--system/dtrx/dtrx.info6
2 files changed, 7 insertions, 6 deletions
diff --git a/system/dtrx/dtrx.SlackBuild b/system/dtrx/dtrx.SlackBuild
index 1d9ff74427a6..66ac134d4821 100644
--- a/system/dtrx/dtrx.SlackBuild
+++ b/system/dtrx/dtrx.SlackBuild
@@ -2,10 +2,11 @@
# Slackware build script for dtrx
-# Petr Kletecka petr@kle.cz <2013>
+# Petr Kletecka petr@kle.cz <2020>
PRGNAM=dtrx
VERSION=${VERSION:-7.1}
+ARCHIVE=${ARCHIVE:-671ccf7d1b7ea90a6e6e6cc44234ef14874d59bf}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -22,8 +23,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xf $CWD/${PRGNAM}-${VERSION}.tar.gz
-cd $PRGNAM-$VERSION
+unzip -o $CWD/$PRGNAM-$ARCHIVE.zip
+cd $PRGNAM-$ARCHIVE
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/system/dtrx/dtrx.info b/system/dtrx/dtrx.info
index fde1387e1eff..411479487b68 100644
--- a/system/dtrx/dtrx.info
+++ b/system/dtrx/dtrx.info
@@ -1,8 +1,8 @@
PRGNAM="dtrx"
VERSION="7.1"
-HOMEPAGE="https://brettcsmith.org/2007/dtrx/"
-DOWNLOAD="https://brettcsmith.org/2007/dtrx/dtrx-7.1.tar.gz"
-MD5SUM="4be207724b75aea3e9f93374298b2174"
+HOMEPAGE="https://github.com/brettcs/dtrx"
+DOWNLOAD="https://github.com/brettcs/dtrx/archive/671ccf7d1b7ea90a6e6e6cc44234ef14874d59bf/dtrx-671ccf7d1b7ea90a6e6e6cc44234ef14874d59bf.zip"
+MD5SUM="80a5abf4324824e3bcaf70d03db37bdb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""