aboutsummaryrefslogtreecommitdiff
path: root/misc/gprename
diff options
context:
space:
mode:
authorDonald Cooley <chytraeu@sdf.org>2017-01-02 07:41:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-02 07:41:42 +0700
commitdb05ca752570a8e2963f95acf25650c5d8e71760 (patch)
tree249e86623aa21a3d0edc12b1b7f15e2b1fe21613 /misc/gprename
parentba79563dc88f0554aa6aeb53b310571b7a2d65e9 (diff)
misc/gprename: Updated for version 20160905.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc/gprename')
-rw-r--r--misc/gprename/gprename.SlackBuild12
-rw-r--r--misc/gprename/gprename.info8
2 files changed, 8 insertions, 12 deletions
diff --git a/misc/gprename/gprename.SlackBuild b/misc/gprename/gprename.SlackBuild
index 3e9141581fb51..a17544aa4d588 100644
--- a/misc/gprename/gprename.SlackBuild
+++ b/misc/gprename/gprename.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
-# Currently maintained by Donald Cooley <dfc@warpmail.net>
+# Copyright 2017 Donald Cooley South Haven, IN USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gprename
-VERSION=${VERSION:-5}
+VERSION=${VERSION:-20160905}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,26 +41,22 @@ cd $TMP
rm -rf $PRGNAM
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
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 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 {} \;
make -j1 install DESTDIR=$PKG/usr PREFIX=/usr
-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
mv $PKG/usr/share/man $PKG/usr
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
-# Fix icon link in $PGRNAM.desktop file
-sed -i 's#local/##' $PKG/usr/share/applications/$PRGNAM.desktop
-
mkdir -p $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
diff --git a/misc/gprename/gprename.info b/misc/gprename/gprename.info
index 7ab38a95f1d42..28cfcb41614c6 100644
--- a/misc/gprename/gprename.info
+++ b/misc/gprename/gprename.info
@@ -1,10 +1,10 @@
PRGNAM="gprename"
-VERSION="5"
+VERSION="20160905"
HOMEPAGE="http://gprename.sourceforge.net/"
-DOWNLOAD="http://sourceforge.net/projects/gprename/files/gprename/5/gprename-5.tar.bz2"
-MD5SUM="221703effa64af063ca9d9b098fe7d7e"
+DOWNLOAD="https://sourceforge.net/projects/gprename/files/gprename/20160905/gprename-20160905.tar.bz2"
+MD5SUM="70e73456528e260940220876306b8bf4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="perl-gtk2 perl-libintl"
MAINTAINER="Donald Cooley"
-EMAIL="dfc@warpmail.net"
+EMAIL="chytraeu@sdf.org"