serenity/Ports/pt2-clone/package.sh

18 lines
424 B
Bash
Raw Normal View History

#!/usr/bin/env -S bash ../.port_include.sh
port='pt2-clone'
version='1.49'
2023-07-10 11:10:29 +00:00
files=(
"https://github.com/8bitbubsy/pt2-clone/archive/v${version}.tar.gz#c2e796b25aba625551c50b2c0743ccc83b007d2eeac2f5eaad870b60f5a1554b"
2023-07-10 11:10:29 +00:00
)
useconfigure='true'
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
depends=("SDL2")
2021-01-22 13:05:48 +00:00
configure() {
run cmake "${configopts[@]}"
2021-01-22 13:05:48 +00:00
}
install() {
run make install
}