summaryrefslogtreecommitdiff
path: root/games/ds-models/ds-models.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-03-27 12:11:13 -0500
committerErik Hanson <erik@slackbuilds.org>2014-04-12 13:59:46 -0500
commit8c3c3fd6356d9c22ae7ad1cd2ac0b5415af0ae5d (patch)
treeaa7abab0c0e63fe23fbb1789091569c934a63232 /games/ds-models/ds-models.SlackBuild
parent8a9892c7e844dff74c4a3bfee516aadc40997c23 (diff)
downloadslackbuilds-8c3c3fd6356d9c22ae7ad1cd2ac0b5415af0ae5d.tar.gz
games/ds-models: Updated for version r15.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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