diff options
-rw-r--r-- | games/prboom-plus/doinst.sh | 10 | ||||
-rw-r--r-- | games/prboom-plus/prboom-plus.SlackBuild | 5 | ||||
-rw-r--r-- | games/prboom-plus/prboom-plus.info | 6 |
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 000000000000..daf1ce3148e3 --- /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 5d4a2bac5515..b440721fe9c7 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 d18d5c1e5c07..cbd81bec6508 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="" |