diff options
Diffstat (limited to 'games/ioquake3/ioquake3.SlackBuild')
-rw-r--r-- | games/ioquake3/ioquake3.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/games/ioquake3/ioquake3.SlackBuild b/games/ioquake3/ioquake3.SlackBuild index 33ab7789f7..7779ed6b49 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 |