summaryrefslogtreecommitdiffstats
path: root/games/doomseeker/doomseeker.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/doomseeker/doomseeker.SlackBuild')
-rw-r--r--games/doomseeker/doomseeker.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/games/doomseeker/doomseeker.SlackBuild b/games/doomseeker/doomseeker.SlackBuild
index 011661a1c6..172e10f1fc 100644
--- a/games/doomseeker/doomseeker.SlackBuild
+++ b/games/doomseeker/doomseeker.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230111 bkw: updated for v1.3.3.
# 20211102 bkw:
# - updated for v1.3.2.
# - new-style icons.
@@ -23,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=doomseeker
-VERSION=${VERSION:-1.3.2}
+VERSION=${VERSION:-1.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -110,8 +111,10 @@ mv $PKG/usr/bin $PKG/usr/games
# cmake is also ignoring -DCMAKE_INSTALL_DOCDIR.
PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKGDOC
-mv $PKG/usr/share/doc/$PRGNAM/* $PKGDOC
-rm -rf $PKG/usr/share/doc
+if [ -e $PKG/usr/share/doc/$PRGNAM/ ]; then
+ mv $PKG/usr/share/doc/$PRGNAM/* $PKGDOC
+ rm -rf $PKG/usr/share/doc
+fi
chmod 755 $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/engines/*.so
strip $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM/engines/*.so