diff options
author | Tim Schumacher <timschumi@gmx.de> | 2021-09-27 00:16:18 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-05 02:13:08 +0200 |
commit | c07f91474de4088c4eccd45ccc6883a515439d69 (patch) | |
tree | 19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/Another-World | |
parent | e507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff) | |
download | serenity-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/Another-World')
-rwxr-xr-x | Ports/Another-World/package.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/Another-World/package.sh b/Ports/Another-World/package.sh index 8e74a656d3..d4b0995ee3 100755 --- a/Ports/Another-World/package.sh +++ b/Ports/Another-World/package.sh @@ -2,9 +2,9 @@ port=Another-World useconfigure=true version=git -depends="SDL2 zlib" +depends=("SDL2" "zlib") workdir=Another-World-Bytecode-Interpreter-master -configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt -DSDL2_INCLUDE_DIR=${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2" +configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DSDL2_INCLUDE_DIR=${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2") files="https://github.com/fabiensanglard/Another-World-Bytecode-Interpreter/archive/refs/heads/master.zip master.zip 326de7622e5f83a83fce76e6032240157a9dde83c0d65319095c7e0b312af317" auth_type=sha256 launcher_name="Another World" @@ -12,7 +12,7 @@ launcher_category=Games launcher_command="/opt/Another-World/raw --datapath=/opt/Another-World" configure() { - run cmake $configopts + run cmake "${configopts[@]}" } install() { |