diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/fdupes/fdupes.SlackBuild | 16 | ||||
-rw-r--r-- | system/fdupes/fdupes.info | 6 |
2 files changed, 10 insertions, 12 deletions
diff --git a/system/fdupes/fdupes.SlackBuild b/system/fdupes/fdupes.SlackBuild index 3b31b0ae3734f..153fbd82e143d 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 diff --git a/system/fdupes/fdupes.info b/system/fdupes/fdupes.info index 1595296dc462d..eefa9daeb790e 100644 --- a/system/fdupes/fdupes.info +++ b/system/fdupes/fdupes.info @@ -1,8 +1,8 @@ PRGNAM="fdupes" VERSION="1.51" -HOMEPAGE="http://code.google.com/p/fdupes/" -DOWNLOAD="http://fdupes.googlecode.com/files/fdupes-1.51.tar.gz" -MD5SUM="47d0410c90c9e51e450933ba35a32b62" +HOMEPAGE="https://github.com/adrianlopezroche/fdupes" +DOWNLOAD="https://github.com/adrianlopezroche/fdupes/archive/fdupes-1.51.tar.gz" +MD5SUM="cc90047dea9f1e0a849c3c1a6e8b2d68" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |