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

configure() {
    run cmake $configopts
}

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