diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-08-02 18:05:32 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-08-05 18:10:41 +0100 |
commit | ea4737a027c0ae6c6cef09f4087abe1a142d430a (patch) | |
tree | 4a205ec32384253096d2f5bf277def8eeaa1143b | |
parent | a1d6ca1b581a88614f4452056c44649c094d19f7 (diff) |
libraries/libuchardet: Fix tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | libraries/libuchardet/libuchardet.SlackBuild | 8 | ||||
-rw-r--r-- | libraries/libuchardet/libuchardet.info | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/libraries/libuchardet/libuchardet.SlackBuild b/libraries/libuchardet/libuchardet.SlackBuild index f398f3b5e4561..42e440807c993 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 f354bf9af7804..fc2b846e58a48 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="" |