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-20 00:51:04 +00:00
|
|
|
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt"
|
2021-04-25 10:20:15 +00:00
|
|
|
files="https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp/archive/refs/heads/master.zip master.zip fcacc15d3b5afccb3227f982d3e05f2cfeb198f0fffd008fdcda005cb7f87f91"
|
|
|
|
auth_type=sha256
|
2021-04-20 16:36:03 +00:00
|
|
|
launcher_name="Super Mario"
|
|
|
|
launcher_category=Games
|
|
|
|
launcher_command=/opt/Super_Mario/uMario
|
2021-04-03 22:41:48 +00:00
|
|
|
|
|
|
|
configure() {
|
|
|
|
run cmake $configopts
|
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
2021-04-20 15:42:04 +00:00
|
|
|
run mkdir -p "${SERENITY_INSTALL_ROOT}/opt/Super_Mario"
|
|
|
|
run cp -r uMario app.ico icon2.ico files "${SERENITY_INSTALL_ROOT}/opt/Super_Mario"
|
2021-04-03 22:41:48 +00:00
|
|
|
}
|