summaryrefslogtreecommitdiff
path: root/games/pasang-emas/pasang-emas.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2016-08-10 09:12:58 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:36 +0700
commited8b0ff46b88620e455f87a75ee6f438e4f3ba57 (patch)
tree0a4759169ec587f2be20894d16ea27eeb5558cc5 /games/pasang-emas/pasang-emas.SlackBuild
parent13da4faba855a7c6709c976e45794be8ab7cf30c (diff)
downloadslackbuilds-ed8b0ff46b88620e455f87a75ee6f438e4f3ba57.tar.gz
games/pasang-emas: Updated for version 5.0.0.
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
Diffstat (limited to 'games/pasang-emas/pasang-emas.SlackBuild')
-rw-r--r--games/pasang-emas/pasang-emas.SlackBuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/games/pasang-emas/pasang-emas.SlackBuild b/games/pasang-emas/pasang-emas.SlackBuild
index 3a0771001f..c9ee372988 100644
--- a/games/pasang-emas/pasang-emas.SlackBuild
+++ b/games/pasang-emas/pasang-emas.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pasang-emas
-# Copyright 2009-2013 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2009-2016 Larry Hajali <larryhaja[at]gmail[dot]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=pasang-emas
-VERSION=${VERSION:-4.0.0}
+VERSION=${VERSION:-5.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,10 +67,10 @@ tar xvf $CWD/pet-marble.tar.bz2
tar xvf $CWD/pet-fragrance.tar.bz2
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 {} \;
# Fix .desktop item.
sed -i 's|\.png||' data/pasang-emas.desktop.in
@@ -98,13 +98,11 @@ cd ..
cp -ar marble $PKG/usr/share/$PRGNAM/themes
cp -ar fragrance $PKG/usr/share/$PRGNAM/themes
-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 ChangeLog COPYING INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install