summaryrefslogtreecommitdiff
path: root/Ports/chester/package.sh
blob: 75584b52cc711f808e5a69d363320ba7be09933e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env -S bash ../.port_include.sh
port=chester
useconfigure=true
version=git
depends="SDL2"
workdir=chester-public
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMakeToolchain.txt"
files="https://github.com/veikkos/chester/archive/public.tar.gz chester.tar.gz"

configure() {
    run cmake $configopts
}

install() {
    run cp bin/chester "${SERENITY_BUILD_DIR}/Root/bin"
}