summaryrefslogtreecommitdiff
path: root/games/oblige/oblige.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/oblige/oblige.SlackBuild')
-rw-r--r--games/oblige/oblige.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/games/oblige/oblige.SlackBuild b/games/oblige/oblige.SlackBuild
index ea3457df0f..873df17ac7 100644
--- a/games/oblige/oblige.SlackBuild
+++ b/games/oblige/oblige.SlackBuild
@@ -6,14 +6,18 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20140827 bkw: version bump, reset BUILD to 1.
+# oblige 6.10 is nice, but it *only* supports the Doom games, so I'll
+# add an oblige-legacy4 build for the old version.
+
# 20140213 bkw: bump BUILD to 2.
# Makefile.unixy updated so it installs data/doom[12]_boss (thanks to Black
# Rider for the bug report). Also get rid of +x permissions on the data files
# in /usr/share.
PRGNAM=oblige
-VERSION=${VERSION:-4.28b}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-6.10}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -45,7 +49,7 @@ fi
set -e
-SRCVER=$( echo $VERSION | sed 's/\.//g' )
+SRCVER=${VERSION//./}
SRCNAM="Oblige" # grrrr!
rm -rf $PKG
@@ -62,7 +66,7 @@ find -L . \
-exec chmod 644 {} \;
# Makefile.unixy originally came from the oblige author, I've hacked
-# it up to make it work with oblige 4.x and SBo's fltk13.
+# it up to make it work with oblige 6.x and SBo's fltk13.
cp $CWD/Makefile.unixy Makefile
# Fix a missing include