libraries/libuchardet: Fix tarball handling.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-08-02 18:05:32 +01:00
parent a1d6ca1b58
commit ea4737a027
2 changed files with 4 additions and 6 deletions

View file

@ -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 \

View file

@ -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=""