mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
system/fdupes: Fix homepage and DOWNLOAD url.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8045068075
commit
3229cfc6fb
2 changed files with 10 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue