mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
games/openarena: Updated for version 0.8.8.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
3268ebcaa0
commit
70527e466a
4 changed files with 23 additions and 31 deletions
|
@ -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
|
requires 3D accelerated video drivers but runs quite well on the open-source
|
||||||
Intel drivers.
|
Intel drivers.
|
||||||
|
|
||||||
Although the $VERSION is listed as 0.8.1, this script actually builds OpenArena
|
Please be advised that the main game zip file, openarena-0.8.8.zip, is about
|
||||||
0.8.1 plus the 0.8.5 patch (which is the latest version as of April 14, 2010).
|
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
|
||||||
Please be advised that the main game zip file, oa080.zip, is about 309MB, and
|
slow. You may wish to visit the openarena homepage (openarena.ws), click on
|
||||||
the oa085p.zip patch is another 40MB. Also, the download site listed in the
|
"Downloads," and look for much faster download sites that do not offer direct
|
||||||
openarena.info file is a direct link, but it is very, very slow. You may wish
|
links. Just make sure you find the full zip that includes the 0.8.8 patch.
|
||||||
to visit the openarena homepage (openarena.ws), click on "Files," and look for
|
|
||||||
much faster download sites that do not offer direct links.
|
|
||||||
|
|
|
@ -23,17 +23,15 @@
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
PRGNAM=openarena
|
PRGNAM=openarena
|
||||||
VERSION=${VERSION:-0.8.5}
|
VERSION=${VERSION:-0.8.8}
|
||||||
SRC_VERSION=${SRC_VERSION:-0.8.1} # Keep this for future patches
|
SRC_VERSION=${SRC_VERSION:-0.8.8} # Keep this for future patches
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
# Automatically determine the architecture we're building on:
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
case "$( uname -m )" in
|
case "$( uname -m )" in
|
||||||
i?86) ARCH=i486 ;;
|
i?86) ARCH=i486 ;;
|
||||||
arm*) ARCH=arm ;;
|
arm*) ARCH=arm ;;
|
||||||
# Unless $ARCH is already set, use uname -m for all other archs:
|
|
||||||
*) ARCH=$( uname -m ) ;;
|
*) ARCH=$( uname -m ) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
@ -44,7 +42,7 @@ PKG=$TMP/package-$PRGNAM
|
||||||
OUTPUT=${OUTPUT:-/tmp}
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
DOCS="CHANGES COPYING CREDITS LINUXNOTES README WENEED readme_085.txt \
|
DOCS="CHANGES COPYING CREDITS LINUXNOTES README WENEED readme_085.txt \
|
||||||
$CWD/$PRGNAM.SlackBuild"
|
readme_088.txt $CWD/$PRGNAM.SlackBuild"
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
@ -60,24 +58,24 @@ else
|
||||||
LIBDIRSUFFIX=""
|
LIBDIRSUFFIX=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e # Exit on most errors
|
set -e
|
||||||
|
|
||||||
# Keep the following for future patches. Based on past history, this
|
# Keep the following for future patches. Based on past history, this
|
||||||
# is inevitable.
|
# is inevitable.
|
||||||
if test ! -f "oa085p.zip"; then
|
#if test ! -f "name-of-patchfile.zip"; then
|
||||||
echo "You need the oa085p.zip file in order to proceed."
|
# echo "You need the name-of-patchfile.zip file in order to proceed."
|
||||||
echo "Please visit the OpenArena homepage and download the"
|
# echo "Please visit the OpenArena homepage and download the"
|
||||||
echo "patch file before continuing."
|
# echo "patch file before continuing."
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$SRC_VERSION
|
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
|
# Keep the following for any future patches
|
||||||
unzip -o $CWD/oa085p.zip
|
#unzip -o $CWD/name-of-patchfile.zip
|
||||||
cd $PRGNAM-$SRC_VERSION
|
cd $PRGNAM-$SRC_VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
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}
|
mkdir -p $PKG/usr/share/games/openarena/{baseoa,missionpack}
|
||||||
cp -rf {baseoa,missionpack}/ $PKG/usr/share/games/openarena/
|
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 {} \;
|
find $PKG/usr/share/games/openarena/baseoa -type f -exec chmod 0644 {} \;
|
||||||
cp oa_ded{.i386,.x86_64} openarena{.i386,.x86_64} \
|
cp oa_ded{.i386,.x86_64} openarena{.i386,.x86_64} \
|
||||||
$PKG/usr/share/games/openarena
|
$PKG/usr/share/games/openarena
|
||||||
|
|
|
@ -1,10 +1,8 @@
|
||||||
PRGNAM="openarena"
|
PRGNAM="openarena"
|
||||||
VERSION="0.8.5"
|
VERSION="0.8.8"
|
||||||
HOMEPAGE="http://www.openarena.ws"
|
HOMEPAGE="http://www.openarena.ws"
|
||||||
DOWNLOAD="http://download.tuxfamily.net/openarena/rel/081/oa081.zip \
|
DOWNLOAD="http://download.tuxfamily.net/openarena/rel/088/openarena-0.8.8.zip"
|
||||||
http://download.tuxfamily.net/openarena/rel/085/oa085p.zip"
|
MD5SUM="9f353d96d7889c377349d692c3905e5b"
|
||||||
MD5SUM="49006bcb02b4e8ea3d06749e8f4e4887 \
|
|
||||||
b2a0437da751cd50dd2351ed9e0c4e9d"
|
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Chess Griffin"
|
MAINTAINER="Chess Griffin"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# make exactly 11 lines for the formatting to be correct. It's also
|
# make exactly 11 lines for the formatting to be correct. It's also
|
||||||
# customary to leave one space after the ':'.
|
# customary to leave one space after the ':'.
|
||||||
|
|
||||||
|-----handy-ruler----------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
openarena: OpenArena (open-source Quake3 type game)
|
openarena: OpenArena (open-source Quake3 type game)
|
||||||
openarena:
|
openarena:
|
||||||
openarena: OpenArena is an open-source content package for Quake III Arena
|
openarena: OpenArena is an open-source content package for Quake III Arena
|
||||||
|
|
Loading…
Reference in a new issue