aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2015-04-30 06:54:00 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-03 07:44:05 +0700
commit3858602b9e130988a60e88840ea2502e03c37e8a (patch)
tree46e13be12fc2eb1da9f34fa35a9dda5df1843176 /libraries
parentf5c09fc4147d98dce157af710cf3d0360ff34a63 (diff)
libraries/libtar: Fix source.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libtar/libtar.SlackBuild12
-rw-r--r--libraries/libtar/libtar.info4
2 files changed, 6 insertions, 10 deletions
diff --git a/libraries/libtar/libtar.SlackBuild b/libraries/libtar/libtar.SlackBuild
index bf1f01331ed5b..1e84ff92de29b 100644
--- a/libraries/libtar/libtar.SlackBuild
+++ b/libraries/libtar/libtar.SlackBuild
@@ -30,7 +30,7 @@
PRGNAM=libtar
VERSION=${VERSION:-1.2.20}
-SRCVERSION=${SRCVERSION:-0907a9034eaf2a57e8e4a9439f793f3f05d446cd}
+SRCVERSION=${SRCVERSION:-0907a90}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,13 +66,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM
-if [ -e $CWD/$SRCVERSION.tar.gz ]; then
- tar xvf $CWD/$SRCVERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
-fi
-cd $PRGNAM
+rm -rf $PRGNAM-$SRCVERSION
+tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.gz
+cd $PRGNAM-$SRCVERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/libraries/libtar/libtar.info b/libraries/libtar/libtar.info
index 476c97acff734..fb95e24e37c41 100644
--- a/libraries/libtar/libtar.info
+++ b/libraries/libtar/libtar.info
@@ -1,8 +1,8 @@
PRGNAM="libtar"
VERSION="1.2.20"
HOMEPAGE="http://www.feep.net/libtar/"
-DOWNLOAD="http://repo.or.cz/w/libtar.git/snapshot/0907a9034eaf2a57e8e4a9439f793f3f05d446cd.tar.gz"
-MD5SUM="863a457f6e19763c6c8f5108b85d24cc"
+DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/libtar/libtar-0907a90.tar.gz"
+MD5SUM="b1126ce784d76f62fc1a5612f6569635"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""