summaryrefslogtreecommitdiffstats
path: root/games/zbom/zbom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/zbom/zbom.SlackBuild')
-rw-r--r--games/zbom/zbom.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/zbom/zbom.SlackBuild b/games/zbom/zbom.SlackBuild
index 3e866dbdfb..a68015cf51 100644
--- a/games/zbom/zbom.SlackBuild
+++ b/games/zbom/zbom.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=zbom
VERSION=${VERSION:-1.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -49,6 +49,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix windows line endings for the patches.
+sed -i 's/\r$//' CMakeLists.txt
+
# Respect solarus install variables.
# https://github.com/wrightmat/zbom/pull/122
patch -p1 < $CWD/0001-Respect-solarus-install-variables.patch