2021-06-07 12:26:26 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=Another-World
|
|
|
|
useconfigure=true
|
|
|
|
version=git
|
2021-09-26 22:16:18 +00:00
|
|
|
depends=("SDL2" "zlib")
|
2021-06-07 12:26:26 +00:00
|
|
|
workdir=Another-World-Bytecode-Interpreter-master
|
2021-09-26 22:16:18 +00:00
|
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DSDL2_INCLUDE_DIR=${SERENITY_INSTALL_ROOT}/usr/local/include/SDL2")
|
2023-07-10 11:10:29 +00:00
|
|
|
files=(
|
2023-09-02 04:32:27 +00:00
|
|
|
"https://github.com/fabiensanglard/Another-World-Bytecode-Interpreter/archive/refs/heads/master.zip#326de7622e5f83a83fce76e6032240157a9dde83c0d65319095c7e0b312af317"
|
2023-07-10 11:10:29 +00:00
|
|
|
)
|
2021-06-07 12:26:26 +00:00
|
|
|
launcher_name="Another World"
|
2024-01-03 19:34:07 +00:00
|
|
|
launcher_category='&Games'
|
2021-06-07 12:26:26 +00:00
|
|
|
launcher_command="/opt/Another-World/raw --datapath=/opt/Another-World"
|
|
|
|
|
|
|
|
configure() {
|
2021-09-26 22:16:18 +00:00
|
|
|
run cmake "${configopts[@]}"
|
2021-06-07 12:26:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
run mkdir -p "${SERENITY_INSTALL_ROOT}/opt/Another-World"
|
|
|
|
run cp -r raw "${SERENITY_INSTALL_ROOT}/opt/Another-World"
|
|
|
|
echo "INFO: Copy BANK* and MEMLIST.BIN files from MS-DOS distribution of the game to the /opt/Another_World directory"
|
|
|
|
}
|