aboutsummaryrefslogtreecommitdiff
path: root/games/yamagi-quake2
diff options
context:
space:
mode:
Diffstat (limited to 'games/yamagi-quake2')
-rw-r--r--games/yamagi-quake2/README15
-rw-r--r--games/yamagi-quake2/yamagi-quake2.SlackBuild44
-rw-r--r--games/yamagi-quake2/yamagi-quake2.info22
3 files changed, 49 insertions, 32 deletions
diff --git a/games/yamagi-quake2/README b/games/yamagi-quake2/README
index d37675ef029b..573a059dc060 100644
--- a/games/yamagi-quake2/README
+++ b/games/yamagi-quake2/README
@@ -1,11 +1,10 @@
-This is an enhanced client for Id Software's legendary Quake II.
-It focuses on single-player. Features include rock-solid stability
-and AMD64 support.
+This is an enhanced client for Id Software's legendary Quake II. It focuses on
+single-player. Features include rock-solid stability and AMD64 support.
-This only installs the Yamagi-Quake2 source port. Before playing
-it, you need to copy your Quake2 data files into the appropriate
-subdirectories of /usr/share/quake2. Please refer to the README
-files in /usr/doc/yamagi-quake2-4.02/ for details.
+This only installs the Yamagi-Quake2 source port. Before playing it, you need
+to copy your Quake2 data files into the appropriate subdirectories of
+/usr/share/quake2. Please refer to the README files in
+/usr/doc/yamagi-quake2-5.00/ for details.
To get a reasonable default configuration, copy
-/usr/doc/yamagi-quake2-4.21/yq2.cfg to your baseq2 directory.
+/usr/doc/yamagi-quake2-5.00/yq2.cfg to your baseq2 directory.
diff --git a/games/yamagi-quake2/yamagi-quake2.SlackBuild b/games/yamagi-quake2/yamagi-quake2.SlackBuild
index 99429906d31a..084ad6412f60 100644
--- a/games/yamagi-quake2/yamagi-quake2.SlackBuild
+++ b/games/yamagi-quake2/yamagi-quake2.SlackBuild
@@ -1,19 +1,37 @@
#!/bin/sh
-# Slackware build script for Yamagi Quake2
-
-# Written by Dugan Chen (thedoogster@gmail.com)
+# Slackware build script for yamagi-quake2
+
+# Copyright 2012 Dugan Chen Canada
+# 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.
# Includes components from the Arch Linux AUR builds.
PRGNAM=yamagi-quake2
-VERSION=${VERSION:-4.21}
+VERSION=${VERSION:-5.00}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CTFVER=${CTFVER:-1.00}
-XATRIXVER=${XATRIXVER:-1.07}
-ROGUEVER=${ROGUEVER:-1.05}
+CTFVER=${CTFVER:-1.01}
+XATRIXVER=${XATRIXVER:-1.08}
+ROGUEVER=${ROGUEVER:-1.06}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -69,7 +87,7 @@ cp -r release/* $PKG/usr/share/quake2
mkdir -p $PKG/usr/share/quake2/baseq2
cp stuff/yq2.cfg $PKG/usr/share/quake2/baseq2
mkdir -p $PKG/usr/share/pixmaps
-cp icon/Quake2.png $PKG/usr/share/pixmaps
+cp stuff/icon/Quake2.png $PKG/usr/share/pixmaps
install -D -m 755 $CWD/quake2.sh $PKG/usr/bin/quake2
mkdir -p $PKG/usr/share/applications
cat $CWD/quake2.desktop > $PKG/usr/share/applications/quake2.desktop
@@ -78,7 +96,7 @@ cat $CWD/quake2.desktop > $PKG/usr/share/applications/quake2.desktop
cd $TMP
tar xvf $CWD/quake2-ctf-$CTFVER.tar.xz
-cd ctf-$CTFVER
+cd quake2-ctf-$CTFVER
chown -R root:root .
find . \
@@ -141,19 +159,19 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{ctf-$CTFVER,quake2-xatrix-$XATRIXVER,qua
cd $TMP
cp -a \
- quake2-$VERSION/{CHANGELOG,LICENSE,README} \
+ quake2-$VERSION/{CHANGELOG,CONTRIBUTE,LICENSE,README} \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- ctf-$CTFVER/{LICENSE,README} \
+ quake2-ctf-$CTFVER/{CHANGELOG,LICENSE,README} \
$PKG/usr/doc/$PRGNAM-$VERSION/ctf-$CTFVER
cp -a \
- quake2-xatrix-$XATRIXVER/{LICENSE,README} \
+ quake2-xatrix-$XATRIXVER/{CHANGELOG,LICENSE,README} \
$PKG/usr/doc/$PRGNAM-$VERSION/quake2-xatrix-$XATRIXVER
cp -a \
- quake2-rogue-$ROGUEVER/{LICENSE,README} \
+ quake2-rogue-$ROGUEVER/{CHANGELOG,LICENSE,README} \
$PKG/usr/doc/$PRGNAM-$VERSION/quake2-rogue-$ROGUEVER
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/yamagi-quake2/yamagi-quake2.info b/games/yamagi-quake2/yamagi-quake2.info
index 3ce980185eec..3e4134a8b82f 100644
--- a/games/yamagi-quake2/yamagi-quake2.info
+++ b/games/yamagi-quake2/yamagi-quake2.info
@@ -1,16 +1,16 @@
PRGNAM="yamagi-quake2"
-VERSION="4.21"
+VERSION="5.00"
HOMEPAGE="http://www.yamagi.org/quake2/"
-DOWNLOAD="http://deponie.yamagi.org/quake2/quake2-4.21.tar.xz \
- http://deponie.yamagi.org/quake2/quake2-ctf-1.00.tar.xz \
- http://deponie.yamagi.org/quake2/quake2-xatrix-1.07.tar.xz \
- http://deponie.yamagi.org/quake2/quake2-rogue-1.05.tar.xz"
-MD5SUM="9f5bde93b49e350ced7228cf2b2dc11f \
- d6d50b456f482dda92d6e4a615ef13bd \
- de471ae174b13edc1c23f9ddfeaa7ea3 \
- f4a1c56e4f10d76687bebd5c16801d35"
+DOWNLOAD="http://deponie.yamagi.org/quake2/quake2-5.00.tar.xz \
+ http://deponie.yamagi.org/quake2/quake2-ctf-1.01.tar.xz \
+ http://deponie.yamagi.org/quake2/quake2-xatrix-1.08.tar.xz \
+ http://deponie.yamagi.org/quake2/quake2-rogue-1.06.tar.xz"
+MD5SUM="a05706878bcef20d80d5a552bd42b23b \
+ ac8d9813e3cf961d945e761bd5ec2bd8 \
+ e9df395e697005382368d92ab55a28ba \
+ 0142e52fb747fa17d18608730503883d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="OpenAL"
MAINTAINER="Dugan Chen"
-EMAIL="thedoogster@gmail.com"
+EMAIL="thedoogster [at] gmail [dot] com"