aboutsummaryrefslogtreecommitdiff
path: root/games/pasang-emas
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
parent13da4faba855a7c6709c976e45794be8ab7cf30c (diff)
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')
-rw-r--r--games/pasang-emas/pasang-emas.SlackBuild18
-rw-r--r--games/pasang-emas/pasang-emas.info6
2 files changed, 11 insertions, 13 deletions
diff --git a/games/pasang-emas/pasang-emas.SlackBuild b/games/pasang-emas/pasang-emas.SlackBuild
index 3a0771001f10..c9ee37298812 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
diff --git a/games/pasang-emas/pasang-emas.info b/games/pasang-emas/pasang-emas.info
index fdcc4008adb3..0eb179ac73c3 100644
--- a/games/pasang-emas/pasang-emas.info
+++ b/games/pasang-emas/pasang-emas.info
@@ -1,11 +1,11 @@
PRGNAM="pasang-emas"
-VERSION="4.0.0"
+VERSION="5.0.0"
HOMEPAGE="http://pasang-emas.sourceforge.net/index.xhtml"
-DOWNLOAD="http://downloads.sourceforge.net/pasang-emas/pasang-emas-4.0.0.tar.bz2 \
+DOWNLOAD="http://downloads.sourceforge.net/pasang-emas/pasang-emas-5.0.0.tar.bz2 \
http://downloads.sourceforge.net/pasang-emas/pasang-emas-themes-1.0.tar.bz2 \
http://downloads.sourceforge.net/pasang-emas/pet-marble.tar.bz2 \
http://downloads.sourceforge.net/pasang-emas/pet-fragrance.tar.bz2"
-MD5SUM="0050b495464e9a847a891728d4c39455 \
+MD5SUM="a6ca6d809fdbab06661495b7b9bec4b3 \
b0cc4af9ec0f3b0a7b74ecfc13ce9399 \
925f78cc8fb25f3bb8ca5f5ba9d3ae64 \
4710b67c37f85e7d542ad8a02755471b"