summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2022-06-22 22:41:35 +0200
committer Willy Sudiarto Raharjo2022-07-02 04:55:51 +0200
commit471b227b9a804c834089886c7073aa1a85444009 (patch)
treee80ebde1a466193dd041ab05d101bbb122c76693
parent8aa9b4417e7c14f63a9ee9daf6bdd70f26274137 (diff)
downloadslackbuilds-471b227b9a804c834089886c7073aa1a85444009.tar.gz
games/prboom-plus: Updated for version 2.6.2.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/prboom-plus/doinst.sh10
-rw-r--r--games/prboom-plus/prboom-plus.SlackBuild5
-rw-r--r--games/prboom-plus/prboom-plus.info6
3 files changed, 17 insertions, 4 deletions
diff --git a/games/prboom-plus/doinst.sh b/games/prboom-plus/doinst.sh
new file mode 100644
index 0000000000..daf1ce3148
--- /dev/null
+++ b/games/prboom-plus/doinst.sh
@@ -0,0 +1,10 @@
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/games/prboom-plus/prboom-plus.SlackBuild b/games/prboom-plus/prboom-plus.SlackBuild
index 5d4a2bac55..b440721fe9 100644
--- a/games/prboom-plus/prboom-plus.SlackBuild
+++ b/games/prboom-plus/prboom-plus.SlackBuild
@@ -7,6 +7,8 @@
# Original had no license. Modified version released under the WTFPL. See
# http://www.wtfpl.net/txt/copying/ for details.
+# 20220622 bkw: update for v2.6.2, add missing doinst.sh.
+
# 20211027 bkw:
# - update for v2.6.1um.
# - band-aid for segfaults on -current (see below). this isn't
@@ -26,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=prboom-plus
-VERSION=${VERSION:-2.6.1um}
+VERSION=${VERSION:-2.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -129,6 +131,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/prboom-plus/prboom-plus.info b/games/prboom-plus/prboom-plus.info
index d18d5c1e5c..cbd81bec65 100644
--- a/games/prboom-plus/prboom-plus.info
+++ b/games/prboom-plus/prboom-plus.info
@@ -1,8 +1,8 @@
PRGNAM="prboom-plus"
-VERSION="2.6.1um"
+VERSION="2.6.2"
HOMEPAGE="http://prboom-plus.sourceforge.net"
-DOWNLOAD="https://github.com/coelckers/prboom-plus/archive/v2.6.1um/prboom-plus-2.6.1um.tar.gz"
-MD5SUM="e887e6032912be38a8c3d47ef1c78194"
+DOWNLOAD="https://github.com/coelckers/prboom-plus/archive/v2.6.2/prboom-plus-2.6.2.tar.gz"
+MD5SUM="51a234bea2963b125be864ee6e74f539"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""