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

Ports: Add launchers for some of the ports

This commit is contained in:
Gunnar Beutner 2021-04-20 18:36:03 +02:00 committed by Linus Groh
parent 1e5a7ca0a7
commit e72235b981
9 changed files with 57 additions and 5 deletions

View file

@ -7,6 +7,9 @@ workdir=SDLPoP-86988c668eeaa10f218e1d4938fc5b4e42314d68
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt"
files="https://github.com/NagyD/SDLPoP/archive/86988c668eeaa10f218e1d4938fc5b4e42314d68.zip PoP.zip d18cae8541fb8cbcc374fd998316993d561429a83f92061bc0754337ada774c5"
auth_type=sha256
launcher_name="Prince of Persia"
launcher_category=Games
launcher_command=/opt/PrinceOfPersia/prince
configure() {
run cmake $configopts ./src
@ -15,4 +18,5 @@ configure() {
install() {
mkdir -p "${SERENITY_INSTALL_ROOT}/opt/PrinceOfPersia"
run cp -r prince data SDLPoP.ini "${SERENITY_INSTALL_ROOT}/opt/PrinceOfPersia"
install_launcher
}