From ea4737a027c0ae6c6cef09f4087abe1a142d430a Mon Sep 17 00:00:00 2001 From: David Spencer Date: Tue, 2 Aug 2016 18:05:32 +0100 Subject: [PATCH] libraries/libuchardet: Fix tarball handling. Signed-off-by: David Spencer --- libraries/libuchardet/libuchardet.SlackBuild | 8 +++----- 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 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=""