summaryrefslogtreecommitdiff
path: root/games/moon-buggy/moon-buggy.SlackBuild
diff options
context:
space:
mode:
authorLEVAI Daniel <leva@ecentrum.hu>2014-12-19 13:01:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-12-19 13:03:14 +0700
commitd74eedf989cf93955c227158ae6b7d0dd352c4bb (patch)
treebd4a712175b1cf088f9d8a8fbab535a3709f9293 /games/moon-buggy/moon-buggy.SlackBuild
parent32b6aa68a4b2a4baf6ece6dd1a631d96deb63bee (diff)
downloadslackbuilds-d74eedf989cf93955c227158ae6b7d0dd352c4bb.tar.gz
games/moon-buggy: Updated for version 1.0.51.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/moon-buggy/moon-buggy.SlackBuild')
-rw-r--r--games/moon-buggy/moon-buggy.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/games/moon-buggy/moon-buggy.SlackBuild b/games/moon-buggy/moon-buggy.SlackBuild
index ea9e0751c6..dc3be278f9 100644
--- a/games/moon-buggy/moon-buggy.SlackBuild
+++ b/games/moon-buggy/moon-buggy.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (c) 2012 Daniel LEVAI
+# Copyright (c) 2012,2014 LEVAI Daniel
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -26,7 +26,7 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=moon-buggy
-VERSION=1.0
+VERSION=${VERSION:-1.0.51}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,10 +67,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -98,8 +98,7 @@ rm -f $PKG/usr/info/dir
gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL NEWS COPYING THANKS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a INSTALL NEWS COPYING THANKS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install