aboutsummaryrefslogtreecommitdiff
path: root/games/ioquake3/ioquake3.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2015-01-20 22:08:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-20 22:08:09 +0700
commita8620fbd1b1a53290eb4eb308d20ad531d1679be (patch)
tree020cfd659cecd1cd441c7b12ee7453b8107ad1ce /games/ioquake3/ioquake3.SlackBuild
parent1f6a6bccec2c3d251900ec4ff3e29316666ca577 (diff)
games/ioquake3: Updated for version r20140120.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/ioquake3/ioquake3.SlackBuild')
-rw-r--r--games/ioquake3/ioquake3.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/games/ioquake3/ioquake3.SlackBuild b/games/ioquake3/ioquake3.SlackBuild
index 33ab7789f75e9..7779ed6b4936d 100644
--- a/games/ioquake3/ioquake3.SlackBuild
+++ b/games/ioquake3/ioquake3.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for ioquake3
# Copyright 2012 Matt Dinslage (daedra1980@gmail.com), Springfield, MO, USA
-# All rights reserved.
+# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ioquake3
-VERSION=r20131127
+VERSION=${VERSION:-r20140120}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,20 +52,19 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
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 {} \;
#Disable use of own CFLAGS, we will use defaults since we
#want to be as close to the binary releases as possible
#CFLAGS="$SLKCFLAGS" \
#CXXFLAGS="$SLKCFLAGS" \
-make release copyfiles USE_CODEC_VORBIS=1 COPYDIR="$PKG"/usr/share/games/quake3
+make release copyfiles USE_CODEC_VORBIS=1 COPYDIR="$PKG"/usr/share/games/quake3
# update quake3 files to newest point release (1.32)
unzip $CWD/quake3-latest-pk3s.zip