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 /libraries/libuchardet/libuchardet.SlackBuild | |
parent | a1d6ca1b581a88614f4452056c44649c094d19f7 (diff) |
libraries/libuchardet: Fix tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libuchardet/libuchardet.SlackBuild')
-rw-r--r-- | libraries/libuchardet/libuchardet.SlackBuild | 8 |
1 files changed, 3 insertions, 5 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 \ |