From c0c4251ea129af65efc03e32aeda2c6176010be5 Mon Sep 17 00:00:00 2001 From: Vladimir Yatsemirski <7catssmile@gmail.com> Date: Sun, 4 May 2014 19:10:52 +0700 Subject: system/crunch: Updated for version 3.5. Signed-off-by: Willy Sudiarto Raharjo --- system/crunch/crunch.SlackBuild | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'system/crunch/crunch.SlackBuild') diff --git a/system/crunch/crunch.SlackBuild b/system/crunch/crunch.SlackBuild index eef909b8e7..d2c6bd644e 100644 --- a/system/crunch/crunch.SlackBuild +++ b/system/crunch/crunch.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for crunch -# Copyright 2013 Vladimir Yatsemirski <7catssmile@gmail.com> +# Copyright 2013-2014 Vladimir Yatsemirski <7catssmile@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=crunch -VERSION=${VERSION:-3.4} +VERSION=${VERSION:-3.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,13 +64,13 @@ tar xvf $CWD/$PRGNAM-$VERSION.tgz cd $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 \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; make -make install PREFIX=$PKG/usr MANDIR=$\(PREFIX\)/man/man1 BTBINDIR=$\(PREFIX\)/bin +make install PREFIX=$PKG/usr MANDIR=$\(PREFIX\)/man/man1 DOCDIR=$\(PREFIX\)/doc/$PRGNAM-$VERSION 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 @@ -79,10 +79,6 @@ find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -mv $PKG/usr/bin/GPL.TXT $PKG/usr/bin/charset.lst $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - Makefile \ - $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install -- cgit v1.2.3