mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 21:59:21 +00:00
Now that we're generating the CMake toolchain file in the build
directory, we need to redirect the ports that use CMake to the new
location. Looking into this showed that there's still a bunch of work to
do in general to make the ports agnostic to which toolchain they're
using, there's a lot of hard-coded ${ARCH}-pc-serenity-gcc assumptions
still here.
22 lines
732 B
Bash
Executable File
22 lines
732 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=DungeonRush
|
|
version=1.1-beta
|
|
useconfigure=true
|
|
files="https://github.com/Rapiz1/DungeonRush/archive/refs/tags/v${version}.tar.gz v${version}.tar.gz 295b83cb023bf5d21318992daee125399892bdf16a87c835dfc90b841c929eda"
|
|
auth_type=sha256
|
|
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
|
depends="SDL2 SDL2_image SDL2_mixer SDL2_ttf SDL2_net"
|
|
launcher_name="DungeonRush"
|
|
launcher_category=Games
|
|
launcher_command=/opt/DungeonRush/dungeon_rush
|
|
icon_file=dungeonrush.png
|
|
|
|
configure() {
|
|
run cmake $configopts
|
|
}
|
|
|
|
install() {
|
|
run mkdir -p "${SERENITY_INSTALL_ROOT}/opt/DungeonRush"
|
|
run cp -r bin/dungeon_rush res "${SERENITY_INSTALL_ROOT}/opt/DungeonRush"
|
|
}
|