blob: a6bb39cdb8f7643232faa31665e1249043723edb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/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/CMake/CMakeToolchain.txt"
files="https://github.com/NagyD/SDLPoP/archive/refs/heads/master.zip PoP.zip c75184eb2a7e8c9ed008ffae371ec178"
auth_type=md5
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}"
}
|