mirror of
https://github.com/SerenityOS/serenity
synced 2024-11-03 03:29:38 +00:00
c07f91474d
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
17 lines
486 B
Bash
Executable file
17 lines
486 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=chester
|
|
useconfigure=true
|
|
version=git
|
|
depends=("SDL2")
|
|
workdir=chester-public
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/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"
|
|
}
|