From db8c301fa90295544cba5611e835e5c9bbf8a646 Mon Sep 17 00:00:00 2001 From: Donald Cooley Date: Sun, 1 Dec 2013 21:21:02 +0700 Subject: misc/gprename: Updated for version 5. Signed-off-by: Willy Sudiarto Raharjo --- misc/gprename/README | 4 ++-- misc/gprename/gprename.SlackBuild | 15 ++++++++------- misc/gprename/gprename.info | 6 +++--- misc/gprename/slack-desc | 4 ++-- 4 files changed, 15 insertions(+), 14 deletions(-) (limited to 'misc') diff --git a/misc/gprename/README b/misc/gprename/README index b18787824b..12a885b2e7 100644 --- a/misc/gprename/README +++ b/misc/gprename/README @@ -1,2 +1,2 @@ -GPRename is a complete batch renamer for files and directories and is licensed -under the terms of the GNU General Public Licence version 3. +GPRename is a complete batch renamer for files and directories and is +licensed under the terms of the GNU General Public Licence version 3. diff --git a/misc/gprename/gprename.SlackBuild b/misc/gprename/gprename.SlackBuild index 261297b703..82b5fa6f04 100644 --- a/misc/gprename/gprename.SlackBuild +++ b/misc/gprename/gprename.SlackBuild @@ -1,6 +1,7 @@ #!/bin/sh # Copyright 2010 Binh Nguyen +# Currently maintained by Donald Cooley # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -21,7 +22,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gprename -VERSION=${VERSION:-2.6.5} +VERSION=${VERSION:-5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -39,14 +40,14 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM +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 install DESTDIR=$PKG/usr PREFIX=/usr @@ -61,7 +62,7 @@ for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i sed -i 's#local/##' $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING.TXT README.TXT $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/gprename/gprename.info b/misc/gprename/gprename.info index 1a0b123ba9..7ab38a95f1 100644 --- a/misc/gprename/gprename.info +++ b/misc/gprename/gprename.info @@ -1,8 +1,8 @@ PRGNAM="gprename" -VERSION="2.6.5" +VERSION="5" HOMEPAGE="http://gprename.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/gprename/gprename-2.6.5.tar.bz2" -MD5SUM="ef8e8eeaa1f55bf1c844d464cfbdac71" +DOWNLOAD="http://sourceforge.net/projects/gprename/files/gprename/5/gprename-5.tar.bz2" +MD5SUM="221703effa64af063ca9d9b098fe7d7e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-gtk2 perl-libintl" diff --git a/misc/gprename/slack-desc b/misc/gprename/slack-desc index 3ad5d35f6c..ad42a77d05 100644 --- a/misc/gprename/slack-desc +++ b/misc/gprename/slack-desc @@ -8,8 +8,8 @@ |-----handy-ruler------------------------------------------------------| gprename: GPRename (A GTK2 batch renamer for files and directories) gprename: -gprename: GPRename is a complete batch renamer for files and directories and is -gprename: licensed under the terms of the GNU General Public Licence version 3. +gprename: GPRename is a complete batch renamer for files and directories and +gprename: is licensed under the terms of the GPL version 3. gprename: gprename: Homepage: http://gprename.sourceforge.net/ gprename: -- cgit v1.2.3