summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2020-01-22 06:52:19 +0100
committer Willy Sudiarto Raharjo2020-01-26 02:10:01 +0100
commitdbb0fe6da343ba631c45b77b8eb04abfa1acf534 (patch)
tree67aedc9da2e827ff9b93a1d56cdf2b71c58a5ebe
parent0ceb91ac5500256714cddecf25a8f48070ad7c19 (diff)
downloadslackbuilds-dbb0fe6da343ba631c45b77b8eb04abfa1acf534.tar.gz
games/doomseeker: Updated for version 1.3+20200119_b623ab1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--games/doomseeker/1.3+20200119_b623ab1.diff.gzbin0 -> 13447 bytes
-rw-r--r--games/doomseeker/doomseeker.SlackBuild18
-rw-r--r--games/doomseeker/doomseeker.info2
3 files changed, 15 insertions, 5 deletions
diff --git a/games/doomseeker/1.3+20200119_b623ab1.diff.gz b/games/doomseeker/1.3+20200119_b623ab1.diff.gz
new file mode 100644
index 0000000000..4fe218194b
--- /dev/null
+++ b/games/doomseeker/1.3+20200119_b623ab1.diff.gz
Binary files differ
diff --git a/games/doomseeker/doomseeker.SlackBuild b/games/doomseeker/doomseeker.SlackBuild
index 30f394999b..96ac41e5fe 100644
--- a/games/doomseeker/doomseeker.SlackBuild
+++ b/games/doomseeker/doomseeker.SlackBuild
@@ -6,15 +6,21 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20200122 bkw: updated for v1.3+20200119_b623ab1. Latest git fixes
+# a segfault issue that normally only occurs when starting doomseeker
+# without ~/.config/doomseeker/* (so the previous version worked for me,
+# but wouldn't for a new user).
# 20191211 bkw: updated for v1.3. qt4 support was dropped, qt5 now required.
# 20181218 bkw: updated for v1.2. Upstream has changed things around,
# so this script won't build 1.1 any longer.
PRGNAM=doomseeker
-VERSION=${VERSION:-1.3}
+VERSION=${VERSION:-1.3+20200119_b623ab1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+TARVER="$( echo "$VERSION" | cut -d+ -f1 )"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -48,14 +54,18 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$TARVER
+tar xvf $CWD/$PRGNAM-$TARVER.tar.xz
+cd $PRGNAM-$TARVER
chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# 20200122 bkw: sorry, rworkman, I know you hate gzipped diffs, but
+# this one has mixed \r\n and \n line endings, git would eat it.
+[ -e "$CWD/$VERSION.diff.gz" ] && zcat "$CWD/$VERSION.diff.gz" | patch -p1
+
mkdir -p build
cd build
# Buggy cmake install target looks in wrong place for icon
diff --git a/games/doomseeker/doomseeker.info b/games/doomseeker/doomseeker.info
index a52a8a003a..58d9de3eaa 100644
--- a/games/doomseeker/doomseeker.info
+++ b/games/doomseeker/doomseeker.info
@@ -1,5 +1,5 @@
PRGNAM="doomseeker"
-VERSION="1.3"
+VERSION="1.3+20200119_b623ab1"
HOMEPAGE="http://doomseeker.drdteam.org/"
DOWNLOAD="http://doomseeker.drdteam.org/files/doomseeker-1.3.tar.xz"
MD5SUM="da27c9e3abfa89b3fd806850d5a9ba91"