From 70527e466add6ef6376f9630cf6caaf0fa561b0d Mon Sep 17 00:00:00 2001 From: Chess Griffin Date: Mon, 25 Jun 2012 21:26:07 -0400 Subject: games/openarena: Updated for version 0.8.8. Signed-off-by: dsomero --- games/openarena/README | 14 ++++++-------- games/openarena/openarena.SlackBuild | 30 +++++++++++++----------------- games/openarena/openarena.info | 8 +++----- games/openarena/slack-desc | 2 +- 4 files changed, 23 insertions(+), 31 deletions(-) (limited to 'games/openarena') diff --git a/games/openarena/README b/games/openarena/README index 27cdfce76c..8e959fdbd5 100644 --- a/games/openarena/README +++ b/games/openarena/README @@ -9,11 +9,9 @@ OpenArena requires the OpenAL library found on SlackBuilds.org. It also requires 3D accelerated video drivers but runs quite well on the open-source Intel drivers. -Although the $VERSION is listed as 0.8.1, this script actually builds OpenArena -0.8.1 plus the 0.8.5 patch (which is the latest version as of April 14, 2010). - -Please be advised that the main game zip file, oa080.zip, is about 309MB, and -the oa085p.zip patch is another 40MB. Also, the download site listed in the -openarena.info file is a direct link, but it is very, very slow. You may wish -to visit the openarena homepage (openarena.ws), click on "Files," and look for -much faster download sites that do not offer direct links. +Please be advised that the main game zip file, openarena-0.8.8.zip, is about +405MB. This file is already patched with the 0.8.8 patch. Also, the download +site listed in the openarena.info file is a direct link, but it is sometimes +slow. You may wish to visit the openarena homepage (openarena.ws), click on +"Downloads," and look for much faster download sites that do not offer direct +links. Just make sure you find the full zip that includes the 0.8.8 patch. diff --git a/games/openarena/openarena.SlackBuild b/games/openarena/openarena.SlackBuild index cff260bf2a..ac82ea607c 100644 --- a/games/openarena/openarena.SlackBuild +++ b/games/openarena/openarena.SlackBuild @@ -23,17 +23,15 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openarena -VERSION=${VERSION:-0.8.5} -SRC_VERSION=${SRC_VERSION:-0.8.1} # Keep this for future patches -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.8.8} +SRC_VERSION=${SRC_VERSION:-0.8.8} # Keep this for future patches +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -44,7 +42,7 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} DOCS="CHANGES COPYING CREDITS LINUXNOTES README WENEED readme_085.txt \ -$CWD/$PRGNAM.SlackBuild" +readme_088.txt $CWD/$PRGNAM.SlackBuild" if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -60,24 +58,24 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e # Keep the following for future patches. Based on past history, this # is inevitable. -if test ! -f "oa085p.zip"; then - echo "You need the oa085p.zip file in order to proceed." - echo "Please visit the OpenArena homepage and download the" - echo "patch file before continuing." - exit 1 -fi +#if test ! -f "name-of-patchfile.zip"; then +# echo "You need the name-of-patchfile.zip file in order to proceed." +# echo "Please visit the OpenArena homepage and download the" +# echo "patch file before continuing." +# exit 1 +#fi rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$SRC_VERSION -unzip -o $CWD/oa081.zip +unzip -o $CWD/openarena-0.8.8.zip # Keep the following for any future patches -unzip -o $CWD/oa085p.zip +#unzip -o $CWD/name-of-patchfile.zip cd $PRGNAM-$SRC_VERSION chown -R root:root . find . \ @@ -106,8 +104,6 @@ find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; mkdir -p $PKG/usr/share/games/openarena/{baseoa,missionpack} cp -rf {baseoa,missionpack}/ $PKG/usr/share/games/openarena/ -#mkdir -p $PKG/usr/share/games/openarena/legacy -#cp -a legacy/* $PKG/usr/share/games/openarena/legacy find $PKG/usr/share/games/openarena/baseoa -type f -exec chmod 0644 {} \; cp oa_ded{.i386,.x86_64} openarena{.i386,.x86_64} \ $PKG/usr/share/games/openarena diff --git a/games/openarena/openarena.info b/games/openarena/openarena.info index d25053e79d..84be6e0017 100644 --- a/games/openarena/openarena.info +++ b/games/openarena/openarena.info @@ -1,10 +1,8 @@ PRGNAM="openarena" -VERSION="0.8.5" +VERSION="0.8.8" HOMEPAGE="http://www.openarena.ws" -DOWNLOAD="http://download.tuxfamily.net/openarena/rel/081/oa081.zip \ - http://download.tuxfamily.net/openarena/rel/085/oa085p.zip" -MD5SUM="49006bcb02b4e8ea3d06749e8f4e4887 \ - b2a0437da751cd50dd2351ed9e0c4e9d" +DOWNLOAD="http://download.tuxfamily.net/openarena/rel/088/openarena-0.8.8.zip" +MD5SUM="9f353d96d7889c377349d692c3905e5b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Chess Griffin" diff --git a/games/openarena/slack-desc b/games/openarena/slack-desc index d8200473f4..f4ee3ae1bf 100644 --- a/games/openarena/slack-desc +++ b/games/openarena/slack-desc @@ -5,7 +5,7 @@ # make exactly 11 lines for the formatting to be correct. It's also # customary to leave one space after the ':'. - |-----handy-ruler----------------------------------------------------| + |-----handy-ruler------------------------------------------------------| openarena: OpenArena (open-source Quake3 type game) openarena: openarena: OpenArena is an open-source content package for Quake III Arena -- cgit v1.2.3