summaryrefslogtreecommitdiff
path: root/libraries/libuchardet
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-08-02 18:05:32 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-05 18:10:41 +0100
commitea4737a027c0ae6c6cef09f4087abe1a142d430a (patch)
tree4a205ec32384253096d2f5bf277def8eeaa1143b /libraries/libuchardet
parenta1d6ca1b581a88614f4452056c44649c094d19f7 (diff)
downloadslackbuilds-ea4737a027c0ae6c6cef09f4087abe1a142d430a.tar.gz
libraries/libuchardet: Fix tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libuchardet')
-rw-r--r--libraries/libuchardet/libuchardet.SlackBuild8
-rw-r--r--libraries/libuchardet/libuchardet.info2
2 files changed, 4 insertions, 6 deletions
diff --git a/libraries/libuchardet/libuchardet.SlackBuild b/libraries/libuchardet/libuchardet.SlackBuild
index f398f3b5e4..42e440807c 100644
--- a/libraries/libuchardet/libuchardet.SlackBuild
+++ b/libraries/libuchardet/libuchardet.SlackBuild
@@ -57,15 +57,13 @@ fi
set -e
SRCNAM="uchardet"
-SRCVER="v0.0.5"
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$SRCVER.tar.gz
-mv $SRCNAM-$VERSION $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$SRCNAM-$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/libraries/libuchardet/libuchardet.info b/libraries/libuchardet/libuchardet.info
index f354bf9af7..fc2b846e58 100644
--- a/libraries/libuchardet/libuchardet.info
+++ b/libraries/libuchardet/libuchardet.info
@@ -1,7 +1,7 @@
PRGNAM="libuchardet"
VERSION="0.0.5"
HOMEPAGE="https://github.com/BYVoid/uchardet"
-DOWNLOAD="https://github.com/BYVoid/uchardet/archive/v0.0.5.tar.gz"
+DOWNLOAD="https://github.com/BYVoid/uchardet/archive/0.0.5/uchardet-0.0.5.tar.gz"
MD5SUM="2421993e7b098366bd008d81385150b6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""