summaryrefslogtreecommitdiff
path: root/games/CorsixTH/CorsixTH.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/CorsixTH/CorsixTH.SlackBuild')
-rw-r--r--games/CorsixTH/CorsixTH.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/CorsixTH/CorsixTH.SlackBuild b/games/CorsixTH/CorsixTH.SlackBuild
index 5fbe8a61b0..742cc60bdc 100644
--- a/games/CorsixTH/CorsixTH.SlackBuild
+++ b/games/CorsixTH/CorsixTH.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CorsixTH
-# Copyright 2019-2020 Nick Smallbone, Gothenburg, Sweden
+# Copyright 2019-2022 Nick Smallbone, Gothenburg, Sweden
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,14 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# 20210217 bkw: modified by SlackBuilds.org: build would fail if both
-# lua and lua52 (or lua53) were installed. The fix is to force cmake
-# to use the libraries from lua (version 5.1.5).
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=CorsixTH
-VERSION=${VERSION:-0.63}
+VERSION=${VERSION:-0.66}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,6 +79,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 {} \;
+# Thanks to Ben Watson for the following fix:
+# "build would fail if both lua and lua52 (or lua53) were installed.
+# The fix is to force cmake to use the libraries from lua (version 5.1.5)."
mkdir -p build
cd build
cmake \