2021-06-16 05:23:34 -04:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2022-04-03 07:28:15 -04:00
|
|
|
port=dungeonrush
|
2021-06-16 05:23:34 -04:00
|
|
|
version=1.1-beta
|
|
|
|
useconfigure=true
|
2022-04-03 07:28:15 -04:00
|
|
|
workdir="DungeonRush-${version}"
|
2023-07-10 07:10:29 -04:00
|
|
|
files=(
|
2023-09-02 00:32:27 -04:00
|
|
|
"https://github.com/Rapiz1/DungeonRush/archive/refs/tags/v${version}.tar.gz#295b83cb023bf5d21318992daee125399892bdf16a87c835dfc90b841c929eda"
|
2023-07-10 07:10:29 -04:00
|
|
|
)
|
2021-09-26 18:16:18 -04:00
|
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
|
|
|
depends=("SDL2" "SDL2_image" "SDL2_mixer" "SDL2_ttf" "SDL2_net")
|
2021-06-16 05:23:34 -04:00
|
|
|
launcher_name="DungeonRush"
|
2024-01-03 14:34:07 -05:00
|
|
|
launcher_category='&Games'
|
2021-06-16 05:23:34 -04:00
|
|
|
launcher_command=/opt/DungeonRush/dungeon_rush
|
|
|
|
icon_file=dungeonrush.png
|
|
|
|
|
|
|
|
configure() {
|
2021-09-26 18:16:18 -04:00
|
|
|
run cmake "${configopts[@]}"
|
2021-06-16 05:23:34 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
run mkdir -p "${SERENITY_INSTALL_ROOT}/opt/DungeonRush"
|
|
|
|
run cp -r bin/dungeon_rush res "${SERENITY_INSTALL_ROOT}/opt/DungeonRush"
|
|
|
|
}
|