2021-04-03 22:41:48 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=Super-Mario
|
|
|
|
useconfigure=true
|
|
|
|
version=git
|
|
|
|
depends="SDL2 SDL2_mixer SDL2_image"
|
|
|
|
workdir=Super-Mario-Clone-Cpp-master
|
2021-04-15 11:32:29 +00:00
|
|
|
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
|
2021-04-03 22:41:48 +00:00
|
|
|
files="https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp/archive/refs/heads/master.zip master.zip"
|
|
|
|
install_location="Root/opt/Super_Mario"
|
|
|
|
|
|
|
|
configure() {
|
|
|
|
run cmake $configopts
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
run mkdir -p "${SERENITY_BUILD_DIR}/${install_location}"
|
|
|
|
run cp -r uMario app.ico icon2.ico files "${SERENITY_BUILD_DIR}/${install_location}"
|
|
|
|
}
|