summaryrefslogtreecommitdiffstats
path: root/games/doomseeker/doomseeker.SlackBuild
diff options
context:
space:
mode:
author B. Watson2023-01-11 20:42:58 +0100
committer Willy Sudiarto Raharjo2023-01-14 02:50:30 +0100
commita35fd5c1255b1fb16fe703415aec58ffb856c820 (patch)
treea1be6426ac3c64e7231090ce597e03947b3740c3 /games/doomseeker/doomseeker.SlackBuild
parent2c4b5f37a96f63c8d44b6d723ebc251fe201e96f (diff)
downloadslackbuilds-a35fd5c1255b1fb16fe703415aec58ffb856c820.tar.gz
games/doomseeker: Updated for version 1.3.3.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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