summaryrefslogtreecommitdiff
path: root/games/zbom
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-08-24 23:31:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-24 23:31:50 +0700
commit81c4a526829fc9d41996c06b0c758ecb5b6e56f4 (patch)
tree446111b95046f4e83462fe32ad0358720fde5484 /games/zbom
parent5afd639f0f73f1a079e885e0ef5df06643eba6a4 (diff)
downloadslackbuilds-81c4a526829fc9d41996c06b0c758ecb5b6e56f4.tar.gz
games/zbom: Fix white spaces.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/zbom')
-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