summaryrefslogtreecommitdiff
path: root/games/vbam/vbam.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-17 22:01:18 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-17 22:01:18 +0700
commit1380a486a2ed7840738142c6fd3d5e387ee7f51a (patch)
tree23e877522b31c4cc4a746bb30a315cb175a05182 /games/vbam/vbam.SlackBuild
parent27a379a8fc3920bebd581c2c85c527930fc57169 (diff)
downloadslackbuilds-1380a486a2ed7840738142c6fd3d5e387ee7f51a.tar.gz
games/vbam: Updated for version r1202
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/vbam/vbam.SlackBuild')
-rw-r--r--games/vbam/vbam.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/games/vbam/vbam.SlackBuild b/games/vbam/vbam.SlackBuild
index a632a60a17..de64d0ea3e 100644
--- a/games/vbam/vbam.SlackBuild
+++ b/games/vbam/vbam.SlackBuild
@@ -22,7 +22,7 @@
# Modified by the SlackBuilds.org project.
PRGNAM=vbam
-VERSION=r1159
+VERSION=${VERSION:-r1202}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,10 +70,11 @@ mkdir -p $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION-src.tar.?z*
chown -R root:root .
-find . \( -perm 777 -o -perm 775 -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 {} \;
+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 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cmake . \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \