1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:07:45 +00:00

Ports: Added a Prince of Persia (SDLPoP) port.

This is a port of the dissasembly version of the DOS prince of persia
game :)
This commit is contained in:
Manuel Palenzuela 2021-04-03 17:53:44 +02:00 committed by Andreas Kling
parent bf1ad16078
commit 83b5655977
6 changed files with 167 additions and 0 deletions

18
Ports/SDLPoP/package.sh Executable file
View file

@ -0,0 +1,18 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=PrinceOfPersia
useconfigure=true
version=git
depends="SDL2 SDL2_image"
workdir=SDLPoP-master
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMakeToolchain.txt"
files="https://github.com/NagyD/SDLPoP/archive/refs/heads/master.zip PoP.zip"
install_location="Root/opt/PrinceOfPersia"
configure() {
run cmake $configopts src/.
}
install() {
run mkdir -p "${SERENITY_BUILD_DIR}/${install_location}"
run cp -r prince data SDLPoP.ini "${SERENITY_BUILD_DIR}/${install_location}"
}