mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
46de51f467
This changes the .port_include.sh script so that ports can more easily create more than one launcher by making the install_launcher function available to the port's package.sh script. This creates launchers for the stpuzzles port in the Games/Puzzles category.
20 lines
592 B
Bash
Executable file
20 lines
592 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=opentyrian
|
|
version=84b820f852f3f6b812b4d00d6b3906adbbf3bbdb
|
|
useconfigure=true
|
|
files="https://github.com/opentyrian/opentyrian/archive/${version}.tar.gz ${version}.tar.gz 7429cc8e3468e3462b886cb99fe6cc0f5d232c193b68a94dc427493107c30dec"
|
|
auth_type=sha256
|
|
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/CMakeToolchain.txt"
|
|
depends="SDL2 opentyrian-data"
|
|
|
|
launcher_name=OpenTyrian
|
|
launcher_category=Games
|
|
launcher_command=/usr/local/bin/tyrian
|
|
|
|
configure() {
|
|
run cmake $configopts
|
|
}
|
|
|
|
install() {
|
|
run make install
|
|
}
|