aboutsummaryrefslogtreecommitdiff
path: root/desktop/gmrun
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-05-24 10:57:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-24 10:57:52 +0700
commite2eab1f20cf5455816b7f7560eeaa28fe0fe4660 (patch)
tree796f93b271d0e2578bb717b6ed62f202f17d3047 /desktop/gmrun
parent8f335c6ec794dd26072b31c074ba1d895ba3d89d (diff)
desktop/gmrun: New maintainer + script cleanup.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gmrun')
-rw-r--r--desktop/gmrun/gmrun.SlackBuild16
-rw-r--r--desktop/gmrun/gmrun.info4
2 files changed, 10 insertions, 10 deletions
diff --git a/desktop/gmrun/gmrun.SlackBuild b/desktop/gmrun/gmrun.SlackBuild
index df20ea56ff54f..69ed9281a7b04 100644
--- a/desktop/gmrun/gmrun.SlackBuild
+++ b/desktop/gmrun/gmrun.SlackBuild
@@ -1,6 +1,7 @@
#!/bin/sh
# Copyright 2010 Binh Nguyen <binhvng@gmail.com>
+# Copyright 2014 Ryan P.C. McQuen, WA, ryan.q@linux.com
# 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=gmrun
-VERSION=0.9.2
+VERSION=${VERSION:-0.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,10 +64,10 @@ 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 {} \;
# Apply some patches from Fedora's SRPM:
patch -p1 < $CWD/patches/gmrun-0.9.2-gcc43.patch
@@ -86,12 +87,11 @@ CFLAGS="$SLKCFLAGS" \
make
make install 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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/gmrun/gmrun.info b/desktop/gmrun/gmrun.info
index 5d75fbbdf66eb..d98e754dddaee 100644
--- a/desktop/gmrun/gmrun.info
+++ b/desktop/gmrun/gmrun.info
@@ -6,5 +6,5 @@ MD5SUM="6cef37a968006d9496fc56a7099c603c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Binh Nguyen"
-EMAIL="binhvng@gmail.com"
+MAINTAINER="Ryan P.C. McQuen"
+EMAIL="ryan.q@linux.com"