diff options
author | LukenShiro <lukenshiro@ngi.it> | 2014-10-19 09:31:48 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-10-19 09:31:48 +0700 |
commit | 3229cfc6fb9aa9ee8b0f7682a48fd4d40bd746c6 (patch) | |
tree | 495251f6905aecda49172ef3b22e2a442c80625e /system/fdupes/fdupes.SlackBuild | |
parent | 804506807551caaa8f1533d7868f1f782c4b687b (diff) | |
download | slackbuilds-3229cfc6fb9aa9ee8b0f7682a48fd4d40bd746c6.tar.gz |
system/fdupes: Fix homepage and DOWNLOAD url.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fdupes/fdupes.SlackBuild')
-rw-r--r-- | system/fdupes/fdupes.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/system/fdupes/fdupes.SlackBuild b/system/fdupes/fdupes.SlackBuild index 3b31b0ae37..153fbd82e1 100644 --- a/system/fdupes/fdupes.SlackBuild +++ b/system/fdupes/fdupes.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for duplicate file finder fdupes. # Copyright 2008-2011 Pierre Cazenave <pwcazenave {at} gmail [dot] com> -# Copyright 2013 LukenShiro, Italy +# Copyright 2013-2014 LukenShiro, Italy # All rights reserved. # @@ -30,11 +30,9 @@ PRGNAM=fdupes VERSION=${VERSION:-1.51} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} -SRCVERS=$(printf $VERSION | tr _ -) - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -69,15 +67,15 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$SRCVERS -tar -xvf $CWD/$PRGNAM-$SRCVERS.tar.gz -cd $PRGNAM-$SRCVERS +rm -rf $PRGNAM-$PRGNAM-$VERSION +tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # apply a patch by hobbes1069<at>gmail<dot>com for DESTDIR (issue #29) patch -p1 < $CWD/fdupes-1.51-destdir.patch |