Ports/mgba: Update formatting to be consistent with other ports

This commit is contained in:
Tim Ledbetter 2023-08-11 14:50:23 +01:00 committed by Tim Schumacher
parent 729e35ef21
commit c2afd3de23
Notes: sideshowbarker 2024-07-17 01:51:00 +09:00

View file

@ -1,12 +1,20 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=mgba
version=0.9.3
port='mgba'
version='0.9.3'
files=(
"https://github.com/mgba-emu/mgba/archive/refs/tags/${version}.tar.gz 692ff0ac50e18380df0ff3ee83071f9926715200d0dceedd9d16a028a59537a0"
)
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
)
useconfigure=true
depends=("SDL2" "zlib" "sqlite" "libpng" "libzip")
depends=(
'libpng'
'libzip'
'SDL2'
'sqlite'
'zlib'
)
configure() {
run cmake "${configopts[@]}"