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:
parent
ceafc5eea0
commit
4f690408af
6 changed files with 175 additions and 0 deletions
18
Ports/Super-Mario/package.sh
Executable file
18
Ports/Super-Mario/package.sh
Executable 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}"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue