summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Smallbone <nick@smallbone.se>2022-10-05 13:16:12 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-08 09:12:54 +0700
commitd0e81cd19c0e3c0009288056d8e565c0301d11a6 (patch)
tree3561a4a0d4b49ee49cfff36e2bd2211b04811db9
parent3f3095188acdb49103476a0897e010dbdb31de1d (diff)
downloadslackbuilds-d0e81cd19c0e3c0009288056d8e565c0301d11a6.tar.gz
games/CorsixTH: Updated for version 0.66.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/CorsixTH/CorsixTH.SlackBuild11
-rw-r--r--games/CorsixTH/CorsixTH.info8
-rw-r--r--games/CorsixTH/slack-desc4
3 files changed, 11 insertions, 12 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 \
diff --git a/games/CorsixTH/CorsixTH.info b/games/CorsixTH/CorsixTH.info
index e03e6ebef2..4589c8c056 100644
--- a/games/CorsixTH/CorsixTH.info
+++ b/games/CorsixTH/CorsixTH.info
@@ -1,10 +1,10 @@
PRGNAM="CorsixTH"
-VERSION="0.63"
+VERSION="0.66"
HOMEPAGE="http://corsixth.com"
-DOWNLOAD="https://github.com/CorsixTH/CorsixTH/archive/v0.63/CorsixTH-0.63.tar.gz"
-MD5SUM="83b0787a0fb2a19eea45b069e023d844"
+DOWNLOAD="https://github.com/CorsixTH/CorsixTH/archive/v0.66/CorsixTH-0.66.tar.gz"
+MD5SUM="cc66cebaa183318429d5845a1843b99e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="lua"
+REQUIRES="lua lua-filesystem lua-lpeg"
MAINTAINER="Nick Smallbone"
EMAIL="nick@smallbone.se"
diff --git a/games/CorsixTH/slack-desc b/games/CorsixTH/slack-desc
index ba44ed2668..3d322b9e56 100644
--- a/games/CorsixTH/slack-desc
+++ b/games/CorsixTH/slack-desc
@@ -13,7 +13,7 @@ CorsixTH: It requires the original Theme Hospital data files in order to run. If
CorsixTH: you don't have Theme Hospital, you can buy it on GOG, or find the free
CorsixTH: demo version.
CorsixTH:
-CorsixTH: NOTE: To get music in-game, you need the fluidsynth and
-CorsixTH: fluid-soundfont packages.
+CorsixTH: NOTE: To get music in-game, you need the fluid-soundfont package.
CorsixTH:
CorsixTH: Home page: http://corsixth.com
+CorsixTH: