summaryrefslogtreecommitdiff
path: root/games/doomseeker/doomseeker.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-22 00:52:19 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-26 08:10:01 +0700
commitdbb0fe6da343ba631c45b77b8eb04abfa1acf534 (patch)
tree67aedc9da2e827ff9b93a1d56cdf2b71c58a5ebe /games/doomseeker/doomseeker.SlackBuild
parent0ceb91ac5500256714cddecf25a8f48070ad7c19 (diff)
downloadslackbuilds-dbb0fe6da343ba631c45b77b8eb04abfa1acf534.tar.gz
games/doomseeker: Updated for version 1.3+20200119_b623ab1.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/doomseeker/doomseeker.SlackBuild')
-rw-r--r--games/doomseeker/doomseeker.SlackBuild18
1 files changed, 14 insertions, 4 deletions
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