summaryrefslogtreecommitdiff
path: root/system/freedup
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-24 09:20:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-25 07:25:14 +0700
commit73614e0b64a8becf4467f4da59e1306626402100 (patch)
tree7f2de745ea97ef2726aab34a37d316771b5ebb54 /system/freedup
parent83e0c95551c434cfeaaacd409b22b85a9c362491 (diff)
downloadslackbuilds-73614e0b64a8becf4467f4da59e1306626402100.tar.gz
system/freedup: Updated for version 1.6.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/freedup')
-rw-r--r--system/freedup/freedup.SlackBuild20
-rw-r--r--system/freedup/freedup.info6
2 files changed, 13 insertions, 13 deletions
diff --git a/system/freedup/freedup.SlackBuild b/system/freedup/freedup.SlackBuild
index 720249161d..8b06bcd082 100644
--- a/system/freedup/freedup.SlackBuild
+++ b/system/freedup/freedup.SlackBuild
@@ -23,12 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=freedup
-VERSION=${VERSION:-1.6.2}
+VERSION=${VERSION:-1.6.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-ALTVER=${ALTVER:-1.6}
-SRCVERSION=${SRCVERSION:-1.6-2-src}
+ALTVER=${ALTVER:-1.6-3}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -62,26 +61,27 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2
-mv $PRGNAM-$ALTVER $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$ALTVER
+tar xvf $CWD/$PRGNAM-$ALTVER-src.tar.bz2
+cd $PRGNAM-$ALTVER
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 \
\( -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 {} \;
export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
make -j1 DCOL=""
-make install PRE=$PKG MANPAGEDIR=$PKG/usr/man/
+make install MANDIR=/usr/man/ DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+chmod -x $PKG/usr/man/man1/*
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING ChangeLog README TODO html $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/freedup/freedup.info b/system/freedup/freedup.info
index 4351006a2e..07cbd42d06 100644
--- a/system/freedup/freedup.info
+++ b/system/freedup/freedup.info
@@ -1,8 +1,8 @@
PRGNAM="freedup"
-VERSION="1.6.2"
+VERSION="1.6.3"
HOMEPAGE="http://freedup.org"
-DOWNLOAD="http://freedup.org/freedup-1.6-2-src.tar.bz2"
-MD5SUM="3e11eac2168118efbb92e63264bc154d"
+DOWNLOAD="http://freedup.org/freedup-1.6-3-src.tar.bz2"
+MD5SUM="e404f401952cfe7a89efc8d9cecb212b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""