summaryrefslogtreecommitdiff
path: root/games/ds-models/ds-models.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/ds-models/ds-models.SlackBuild')
-rw-r--r--games/ds-models/ds-models.SlackBuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/games/ds-models/ds-models.SlackBuild b/games/ds-models/ds-models.SlackBuild
index e0fea7b775..95ae03b0b1 100644
--- a/games/ds-models/ds-models.SlackBuild
+++ b/games/ds-models/ds-models.SlackBuild
@@ -6,8 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20140324 bkw:
+# Updated for version r15
+# fixed typos in README
+# fixed .def files for recent gzdoom
+
PRGNAM=ds-models
-VERSION=${VERSION:-r14}
+VERSION=${VERSION:-r15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -19,6 +24,8 @@ OUTPUT=${OUTPUT:-/tmp}
ARCH=noarch
# Which game(s) to support?
+# As of r15, Zandronum is also supported, but as there's no SBo build for
+# it, I won't bother.
SKULLTAG=${SKULLTAG:-yes}
GZDOOM=${GZDOOM:-yes}
@@ -56,6 +63,10 @@ do
cp ${DEF_FILE} work
done
+# get rid of upstream's CRLF endings and stray NBSP characters, which
+# confuse recent gzdooms.
+perl -i -pe 's,[\xa0\r],,g' work/*.def
+
for MODEL_DIR in \
$(find $(pwd)/GZ-Models/Build -maxdepth 2 -mindepth 2 -type d)
do
@@ -82,6 +93,8 @@ if [ "$SKULLTAG" = "yes" ]; then
cp ${DEF_FILE} work
done
+ perl -i -pe 's,[\xa0\r],,g' work/*.def
+
for MODEL_DIR in \
$(find ST-Models/Build -maxdepth 2 -mindepth 2 -type d)
do