summaryrefslogtreecommitdiff
path: root/games/moon-buggy/moon-buggy.SlackBuild
diff options
context:
space:
mode:
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