summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Lenard Spencer2021-01-22 17:37:38 +0100
committer Willy Sudiarto Raharjo2021-01-22 17:37:55 +0100
commit11c98d4f09fafa43e85d462e559ba4fa6fac2215 (patch)
tree11936a95e085f1b3d47eb18877a64a1e3ceaf335
parentf5be4d7d631568a95e00638cfcb960e7cb8c29d2 (diff)
downloadslackbuilds-11c98d4f09fafa43e85d462e559ba4fa6fac2215.tar.gz
games/crispy-doom: Updated for version 5.10.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/crispy-doom/crispy-doom.SlackBuild12
-rw-r--r--games/crispy-doom/crispy-doom.info6
2 files changed, 10 insertions, 8 deletions
diff --git a/games/crispy-doom/crispy-doom.SlackBuild b/games/crispy-doom/crispy-doom.SlackBuild
index ef848b78f9..3b520aa3a1 100644
--- a/games/crispy-doom/crispy-doom.SlackBuild
+++ b/games/crispy-doom/crispy-doom.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=crispy-doom
-VERSION=${VERSION:-5.9.2}
+VERSION=${VERSION:-5.10.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,7 +80,7 @@ CXXFLAGS="$SLKCFLAGS" \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --docdir=/usr/doc/$PRGNAM \
--bindir=/usr/games \
--build=$ARCH-slackware-linux
@@ -93,10 +93,12 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog *.md \
- $PKG/usr/doc/$PRGNAM-$VERSION
+# Crispy-doom creates its own doc directory, so we'll use that and rename it:
+mv $PKG/usr/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
+cp -n AUTHORS ChangeLog *.md $PKG/usr/doc/$PRGNAM-$VERSION || true
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# We'll rename the doc/crispy-heretic folder as well for consistency:
+mv $PKG/usr/doc/crispy-heretic $PKG/usr/doc/crispy-heretic-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/games/crispy-doom/crispy-doom.info b/games/crispy-doom/crispy-doom.info
index ebedd2fab6..5a26bf0289 100644
--- a/games/crispy-doom/crispy-doom.info
+++ b/games/crispy-doom/crispy-doom.info
@@ -1,8 +1,8 @@
PRGNAM="crispy-doom"
-VERSION="5.9.2"
+VERSION="5.10.0"
HOMEPAGE="http://www.chocolate-doom.org/wiki/index.php/Crispy_Doom"
-DOWNLOAD="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-5.9.2.tar.gz"
-MD5SUM="67caf9025c85f353e152497e664275e7"
+DOWNLOAD="https://github.com/fabiangreffrath/crispy-doom/archive/crispy-doom-5.10.0.tar.gz"
+MD5SUM="dbbde26efa05accfb9981ea078539c60"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2_net SDL2_mixer"