1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 02:57:34 +00:00

Ports: Added a Super-Mario clone port.

Added a minimal dependency super mario port. (Only depends on SDL, SDL_image and SDL_mixer).
This commit is contained in:
Manuel Palenzuela 2021-04-04 00:41:48 +02:00 committed by Andreas Kling
parent ceafc5eea0
commit 4f690408af
6 changed files with 175 additions and 0 deletions

18
Ports/Super-Mario/package.sh Executable file
View file

@ -0,0 +1,18 @@
#!/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
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMakeToolchain.txt"
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}"
}