aboutsummaryrefslogtreecommitdiff
path: root/misc/gprename/gprename.SlackBuild
diff options
context:
space:
mode:
authorDonald Cooley <dfc@warpmail.net>2013-12-01 21:21:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-12-01 22:49:01 +0700
commitdb8c301fa90295544cba5611e835e5c9bbf8a646 (patch)
treeacb7cd43623112f47e71e79b610ff91c97ecbb6e /misc/gprename/gprename.SlackBuild
parentf337c8f4e9f0869b2fb7ecbf4fa1892ea054e3ff (diff)
misc/gprename: Updated for version 5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/gprename/gprename.SlackBuild')
-rw-r--r--misc/gprename/gprename.SlackBuild15
1 files changed, 8 insertions, 7 deletions
diff --git a/misc/gprename/gprename.SlackBuild b/misc/gprename/gprename.SlackBuild
index 261297b70348d..82b5fa6f04ef9 100644
--- a/misc/gprename/gprename.SlackBuild
+++ b/misc/gprename/gprename.SlackBuild
@@ -1,6 +1,7 @@
#!/bin/sh
# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
+# Currently maintained by Donald Cooley <dfc@warpmail.net>
# 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