1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 00:17:46 +00:00

Ports: Add opentyrian and opentyrian-data

This commit is contained in:
Oleg Kosenkov 2021-05-31 14:01:49 -04:00 committed by GitHub
parent ed89cd93aa
commit 971523621c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 122 additions and 0 deletions

21
Ports/opentyrian/package.sh Executable file
View file

@ -0,0 +1,21 @@
#!/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
install_launcher
}