From 471b227b9a804c834089886c7073aa1a85444009 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 22 Jun 2022 16:41:35 -0400 Subject: games/prboom-plus: Updated for version 2.6.2. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/prboom-plus/doinst.sh | 10 ++++++++++ games/prboom-plus/prboom-plus.SlackBuild | 5 ++++- games/prboom-plus/prboom-plus.info | 6 +++--- 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 games/prboom-plus/doinst.sh (limited to 'games/prboom-plus') 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="" -- cgit v1.2.3