summaryrefslogtreecommitdiff
path: root/Ports/quake2/package.sh
blob: dbe6d4c08e347ac6c0c08139ca3181e024c38206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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
}