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.SlackBuild19
1 files changed, 13 insertions, 6 deletions
diff --git a/games/yamagi-quake2/yamagi-quake2.SlackBuild b/games/yamagi-quake2/yamagi-quake2.SlackBuild
index 969c7ad4c8..6eb8ff9b29 100644
--- a/games/yamagi-quake2/yamagi-quake2.SlackBuild
+++ b/games/yamagi-quake2/yamagi-quake2.SlackBuild
@@ -2,18 +2,18 @@
# Slackware build script for Yamagi Quake2
-# Written by Dugan Chen (dugan [underscore] c [at] fastmail dot] fm)
+# Written by Dugan Chen (thedoogster@gmail.com)
# Includes components from the Arch Linux AUR builds.
PRGNAM=yamagi-quake2
-VERSION=${VERSION:-4.01}
+VERSION=${VERSION:-4.02}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CTFVER=${CTFVER:-1.00}
-XATRIXVER=${XATRIXVER:-1.06}
-ROGUEVER=${ROGUEVER:-1.04}
+XATRIXVER=${XATRIXVER:-1.07}
+ROGUEVER=${ROGUEVER:-1.05}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -66,7 +66,13 @@ CXXFLAGS="$SLKCFLAGS" \
mkdir -p $PKG/usr/{bin,share/quake2/{ctf,xatrix,rogue}}
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
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
# CTF Support
@@ -90,7 +96,7 @@ install -D -m 755 $CWD/ctf.sh $PKG/usr/bin/ctf
# Mission Pack 1 support
cd $TMP
-tar xvf $CWD/quake2-xatrix-$XATRIXVER.tar.bz2
+tar xvf $CWD/quake2-xatrix-$XATRIXVER.tar.xz
cd quake2-xatrix-$XATRIXVER
chown -R root:root .
@@ -109,7 +115,7 @@ install -D -m 755 $CWD/xatrix.sh $PKG/usr/bin/xatrix
# Mission Pack 2 support
cd $TMP
-tar xvf $CWD/quake2-rogue-$ROGUEVER.tar.bz2
+tar xvf $CWD/quake2-rogue-$ROGUEVER.tar.xz
cd quake2-rogue-$ROGUEVER
chown -R root:root .
@@ -153,6 +159,7 @@ cp -a \
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG