summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-11-09 14:37:59 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-11-11 20:36:22 +0000
commit5165e78fa2be6a241fa2288fe45ad669cd8030bf (patch)
treef889f3735c5137c10cb832a32f8005c9f3a9086b
parent21bff9b8997fd6d30ef1f4d751dee00cd193ab93 (diff)
downloadslackbuilds-5165e78fa2be6a241fa2288fe45ad669cd8030bf.tar.gz
system/xarchiver: Fixed tarball handling.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r--system/xarchiver/xarchiver.SlackBuild8
-rw-r--r--system/xarchiver/xarchiver.info2
2 files changed, 4 insertions, 6 deletions
diff --git a/system/xarchiver/xarchiver.SlackBuild b/system/xarchiver/xarchiver.SlackBuild
index 01a202f686..5dff777001 100644
--- a/system/xarchiver/xarchiver.SlackBuild
+++ b/system/xarchiver/xarchiver.SlackBuild
@@ -60,11 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-# Nuts...
-mv $PRGNAM-$PRGNAM-$VERSION $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$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/xarchiver/xarchiver.info b/system/xarchiver/xarchiver.info
index 8168bc014f..b49cefeb73 100644
--- a/system/xarchiver/xarchiver.info
+++ b/system/xarchiver/xarchiver.info
@@ -1,7 +1,7 @@
PRGNAM="xarchiver"
VERSION="0.5.4.7"
HOMEPAGE="https://github.com/ib/xarchiver"
-DOWNLOAD="https://github.com/ib/xarchiver/archive/xarchiver-0.5.4.7.tar.gz"
+DOWNLOAD="https://github.com/ib/xarchiver/archive/xarchiver-0.5.4.7/xarchiver-xarchiver-0.5.4.7.tar.gz"
MD5SUM="f869babc5e7b2fd5d5349d2dd618f343"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""