summaryrefslogtreecommitdiff
path: root/Ports/opentyrian
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-09-27 00:16:18 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-05 02:13:08 +0200
commitc07f91474de4088c4eccd45ccc6883a515439d69 (patch)
tree19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/opentyrian
parente507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff)
downloadserenity-c07f91474de4088c4eccd45ccc6883a515439d69.zip
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
Diffstat (limited to 'Ports/opentyrian')
-rwxr-xr-xPorts/opentyrian/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/opentyrian/package.sh b/Ports/opentyrian/package.sh
index 6f03f7eb53..05c7394a31 100755
--- a/Ports/opentyrian/package.sh
+++ b/Ports/opentyrian/package.sh
@@ -4,15 +4,15 @@ version=84b820f852f3f6b812b4d00d6b3906adbbf3bbdb
useconfigure=true
files="https://github.com/opentyrian/opentyrian/archive/${version}.tar.gz ${version}.tar.gz 7429cc8e3468e3462b886cb99fe6cc0f5d232c193b68a94dc427493107c30dec"
auth_type=sha256
-configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
-depends="SDL2 opentyrian-data"
+configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
+depends=("SDL2" "opentyrian-data")
launcher_name=OpenTyrian
launcher_category=Games
launcher_command=/usr/local/bin/tyrian
configure() {
- run cmake $configopts
+ run cmake "${configopts[@]}"
}
install() {