aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/yamagi-quake2/yamagi-quake2.SlackBuild42
-rw-r--r--games/yamagi-quake2/yamagi-quake2.info18
2 files changed, 29 insertions, 31 deletions
diff --git a/games/yamagi-quake2/yamagi-quake2.SlackBuild b/games/yamagi-quake2/yamagi-quake2.SlackBuild
index 7d1746b3ff..4b5228eb76 100644
--- a/games/yamagi-quake2/yamagi-quake2.SlackBuild
+++ b/games/yamagi-quake2/yamagi-quake2.SlackBuild
@@ -28,14 +28,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yamagi-quake2
-VERSION=${VERSION:-8.41}
+VERSION=${VERSION:-8.50}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-CTFVER=${CTFVER:-1.10}
-XATRIXVER=${XATRIXVER:-2.13}
-ROGUEVER=${ROGUEVER:-2.12}
+CTFVER=${CTFVER:-1.11}
+XATRIXVER=${XATRIXVER:-2.14}
+ROGUEVER=${ROGUEVER:-2.13}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -100,14 +100,12 @@ cd build
cd ..
mkdir -p $PKG/usr/{bin,share/quake2/{ctf,xatrix,rogue}}
-cp -r build/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 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
+install -dm755 $PKG/usr/share/quake2
+cp -a build/release/* -t $PKG/usr/share/quake2
+install -Dm644 stuff/yq2.cfg -t $PKG/usr/share/quake2/baseq2
+install -Dm644 stuff/icon/Quake2.png -t $PKG/usr/share/pixmaps
+install -Dm755 $CWD/quake2.sh $PKG/usr/bin/quake2
+install -Dm644 $CWD/quake2.desktop -t $PKG/usr/share/applications
# CTF Support
@@ -130,9 +128,9 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- cp -r Release/* $PKG/usr/share/quake2/ctf
+ install -Dm755 Release/game.so -t $PKG/usr/share/quake2/ctf
cd ..
-install -D -m 755 $CWD/ctf.sh $PKG/usr/bin/quake2-ctf
+install -Dm755 $CWD/ctf.sh $PKG/usr/bin/quake2-ctf
# Mission Pack 1 support
@@ -155,10 +153,10 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- cp -r Release/* $PKG/usr/share/quake2/xatrix
+ install -Dm755 Release/game.so -t $PKG/usr/share/quake2/xatrix
cd ..
-install -D -m 755 $CWD/xatrix.sh $PKG/usr/bin/quake2-xatrix
+install -Dm755 $CWD/xatrix.sh $PKG/usr/bin/quake2-xatrix
# Mission Pack 2 support
@@ -181,10 +179,10 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release ..
make
- cp -r Release/* $PKG/usr/share/quake2/rogue
+ install -Dm755 Release/game.so -t $PKG/usr/share/quake2/rogue
cd ..
-install -D -m 755 $CWD/rogue.sh $PKG/usr/bin/quake2-rogue
+install -Dm755 $CWD/rogue.sh $PKG/usr/bin/quake2-rogue
find $PKG/usr/share/quake2 -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -196,19 +194,19 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/{ctf-$CTFVER,quake2-xatrix-$XATRIXVER,qua
cd $TMP
cp -a \
- quake2-$VERSION/{CHANGELOG,LICENSE,README.md,stuff/yq2.cfg} \
+ quake2-$VERSION/{CHANGELOG,LICENSE,README.md,stuff/yq2.cfg,doc/*.md} \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- quake2-ctf-$CTFVER/{CHANGELOG,LICENSE,README} \
+ quake2-ctf-$CTFVER/{CHANGELOG,LICENSE,README.md} \
$PKG/usr/doc/$PRGNAM-$VERSION/ctf-$CTFVER
cp -a \
- quake2-xatrix-$XATRIXVER/{CHANGELOG,LICENSE,README} \
+ quake2-xatrix-$XATRIXVER/{CHANGELOG,LICENSE,README.md} \
$PKG/usr/doc/$PRGNAM-$VERSION/quake2-xatrix-$XATRIXVER
cp -a \
- quake2-rogue-$ROGUEVER/{CHANGELOG,LICENSE,README} \
+ quake2-rogue-$ROGUEVER/{CHANGELOG,LICENSE,README.md} \
$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 3784846811..a46b6a96c2 100644
--- a/games/yamagi-quake2/yamagi-quake2.info
+++ b/games/yamagi-quake2/yamagi-quake2.info
@@ -1,14 +1,14 @@
PRGNAM="yamagi-quake2"
-VERSION="8.41"
+VERSION="8.50"
HOMEPAGE="https://www.yamagi.org/quake2/"
-DOWNLOAD="https://deponie.yamagi.org/quake2/quake2-8.41.tar.xz \
- https://deponie.yamagi.org/quake2/quake2-ctf-1.10.tar.xz \
- https://deponie.yamagi.org/quake2/quake2-rogue-2.12.tar.xz \
- https://deponie.yamagi.org/quake2/quake2-xatrix-2.13.tar.xz"
-MD5SUM="81bf8e288273d365e7ca8d84405180f1 \
- b2477d800e6ce9ac94bd5aeebef2908e \
- baf65829169d8587357b2ca47359f133 \
- 2ff73925e493ddde8c52216e6dfd5f39"
+DOWNLOAD="https://deponie.yamagi.org/quake2/quake2-8.50.tar.xz \
+ https://deponie.yamagi.org/quake2/quake2-ctf-1.11.tar.xz \
+ https://deponie.yamagi.org/quake2/quake2-rogue-2.13.tar.xz \
+ https://deponie.yamagi.org/quake2/quake2-xatrix-2.14.tar.xz"
+MD5SUM="2f7fa6f027713a70fa04810a32639af2 \
+ 9d79f5f5ebdc1d6db7e37b74b5b8a342 \
+ 4bfd0591b9be62b589c199d127277369 \
+ a93c6ce4fef5768ebb1a2d75f25c8bef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""