summaryrefslogtreecommitdiff
path: root/Ports/dungeonrush
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/dungeonrush
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/dungeonrush')
-rwxr-xr-xPorts/dungeonrush/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/dungeonrush/package.sh b/Ports/dungeonrush/package.sh
index 6d3976f512..88a4ee5fcd 100755
--- a/Ports/dungeonrush/package.sh
+++ b/Ports/dungeonrush/package.sh
@@ -4,15 +4,15 @@ version=1.1-beta
useconfigure=true
files="https://github.com/Rapiz1/DungeonRush/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 295b83cb023bf5d21318992daee125399892bdf16a87c835dfc90b841c929eda"
auth_type=sha256
-configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
-depends="SDL2 SDL2_image SDL2_mixer SDL2_ttf SDL2_net"
+configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
+depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_net")
launcher_name="DungeonRush"
launcher_category=Games
launcher_command=/opt/DungeonRush/dungeon_rush
icon_file=dungeonrush.png
configure() {
- run cmake $configopts
+ run cmake "${configopts[@]}"
}
install() {