summaryrefslogtreecommitdiffstats
path: root/games/yamagi-quake2/yamagi-quake2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/yamagi-quake2/yamagi-quake2.SlackBuild')
-rw-r--r--games/yamagi-quake2/yamagi-quake2.SlackBuild44
1 files changed, 31 insertions, 13 deletions
diff --git a/games/yamagi-quake2/yamagi-quake2.SlackBuild b/games/yamagi-quake2/yamagi-quake2.SlackBuild
index 99429906d3..084ad6412f 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