From a35fd5c1255b1fb16fe703415aec58ffb856c820 Mon Sep 17 00:00:00 2001 From: B. Watson Date: Wed, 11 Jan 2023 14:42:58 -0500 Subject: games/doomseeker: Updated for version 1.3.3. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- games/doomseeker/doomseeker.SlackBuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'games/doomseeker/doomseeker.SlackBuild') 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 -- cgit v1.2.3