summaryrefslogtreecommitdiff
path: root/Ports/SDLPoP/package.sh
diff options
context:
space:
mode:
authorGunnar Beutner <gunnar@beutner.name>2021-04-20 18:36:03 +0200
committerLinus Groh <mail@linusgroh.de>2021-04-23 11:33:57 +0200
commite72235b9812557c8e313b2d49a8bdd21abfda843 (patch)
treec8772fcf8d172b0e743e635b445f616408fcd2c9 /Ports/SDLPoP/package.sh
parent1e5a7ca0a7f4ab8cf4de06533902a699b57a9509 (diff)
downloadserenity-e72235b9812557c8e313b2d49a8bdd21abfda843.zip
Ports: Add launchers for some of the ports
Diffstat (limited to 'Ports/SDLPoP/package.sh')
-rwxr-xr-xPorts/SDLPoP/package.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Ports/SDLPoP/package.sh b/Ports/SDLPoP/package.sh
index 0280450782..3c24fb87a7 100755
--- a/Ports/SDLPoP/package.sh
+++ b/Ports/SDLPoP/package.sh
@@ -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
}