ladybird/Ports/quake2/package.sh
2021-04-30 11:35:17 +02:00

21 lines
474 B
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=quake2
version=0.1
workdir=SerenityQuakeII-master
useconfigure=true
files="https://github.com/SerenityOS/SerenityQuakeII/archive/master.tar.gz quake2.tar.gz"
makeopts=""
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_SOURCE_DIR}/Toolchain/CMake/CMakeToolchain.txt"
depends=SDL2
launcher_name=QuakeII
launcher_category=Games
launcher_command=quake2
configure() {
run cmake $configopts
}
install() {
run make install
}