summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/ioquake3/ioquake3.SlackBuild52
-rw-r--r--games/ioquake3/ioquake3.info9
2 files changed, 31 insertions, 30 deletions
diff --git a/games/ioquake3/ioquake3.SlackBuild b/games/ioquake3/ioquake3.SlackBuild
index a1997a6402..33ab7789f7 100644
--- a/games/ioquake3/ioquake3.SlackBuild
+++ b/games/ioquake3/ioquake3.SlackBuild
@@ -2,15 +2,35 @@
# Slackware build script for ioquake3
-# Written by M.Dinslage contact: daedra1980@gmail.com
+# Copyright 2012 Matt Dinslage (daedra1980@gmail.com), Springfield, MO, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ioquake3
-VERSION=r2252
+VERSION=r20131127
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Changing this to BARCH since we want the Makefile building
-# the binaries as close to the binary releases as possible.
+# Setting the arch here overrides the Makefiles
+# arch setting which causes the build to fail
+# on 32bit machines, so we change this to BARCH
+# here and let the Makefile set the ARCH.
if [ -z "$BARCH" ]; then
case "$( uname -m )" in
i?86) export BARCH=i486 ;;
@@ -31,13 +51,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM
-
-if [ "${SMP:-NO}" = "NO" ]; then
- SMPOPT="0"
-else
- SMPOPT="1"
-fi
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -51,7 +65,7 @@ find -L . \
#CFLAGS="$SLKCFLAGS" \
#CXXFLAGS="$SLKCFLAGS" \
-make release copyfiles USE_CODEC_VORBIS=1 BUILD_CLIENT_SMP=$SMPOPT COPYDIR="$PKG"/usr/share/games/quake3 || exit 1
+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
@@ -67,20 +81,8 @@ mkdir $PKG/usr/games
cat $CWD/launcher.ioquake3 > $PKG/usr/games/ioquake3
chmod 0755 $PKG/usr/games/ioquake3
-# For some reason the installer doesn't seem to want to copy SMP executable
-# so we take care of it outselves :). Also lets change the .desktop file to
-# launch the SMP version.
-# This seems to be obsolete now, but I am going to leave it here
-# commented out for at least one more udpate "just incase"
-#if [ "${SMP:-NO}" = "NO" ]; then
-# SMP=""
-#else
-# cp $TMP/$PRGNAM/build/release-linux-*/ioquake3-smp.* $PKG/usr/share/games/quake3
-# sed -i 's,ioquake3.*,ioquake3-smp.*,g' $PKG/usr/games/ioquake3
-#fi
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a BUGS ChangeLog NOTTODO README TODO id-readme.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a BUGS ChangeLog NOTTODO README.md TODO id-readme.txt voip-readme.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/games/ioquake3/ioquake3.info b/games/ioquake3/ioquake3.info
index 3d9abab625..4dfb58b0c6 100644
--- a/games/ioquake3/ioquake3.info
+++ b/games/ioquake3/ioquake3.info
@@ -1,13 +1,12 @@
PRGNAM="ioquake3"
-VERSION="r2252"
+VERSION="r20131127"
HOMEPAGE="http://ioquake3.org/"
-DOWNLOAD="http://dl.dropbox.com/u/85079539/ioquake3-r2252.tar.gz \
+DOWNLOAD="https://dl.dropboxusercontent.com/u/85079539/ioquake3-r20131127.tar.gz \
http://files.matchlessgaming.com/misc/quake3-latest-pk3s.zip"
-MD5SUM="04d0bbcee8e97a352bab2030648cd632 \
+MD5SUM="63dec5d5862f5a66b8fda6421af8324b \
308929f1a6b7068c9912c0759e3b0695"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-MAINTAINER="M.Dinslage"
REQUIRES="OpenAL"
+MAINTAINER="M.Dinslage"
EMAIL="daedra1980@gmail.com"
-