mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
Ports: Add launcher for OpenTTD
This commit is contained in:
parent
ae32abffe9
commit
ede0d7c04f
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,9 @@ depends="SDL2 libpng zlib xz"
|
||||||
files="https://cdn.openttd.org/openttd-releases/${version}/openttd-${version}-source.tar.xz openttd-${version}.tar.xz 5e65184e07368ba1afa62dbb3e35abaee6c4da6730ff4bc9eb4447d53363c7a8"
|
files="https://cdn.openttd.org/openttd-releases/${version}/openttd-${version}-source.tar.xz openttd-${version}.tar.xz 5e65184e07368ba1afa62dbb3e35abaee6c4da6730ff4bc9eb4447d53363c7a8"
|
||||||
useconfigure=true
|
useconfigure=true
|
||||||
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
|
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
|
||||||
|
launcher_name=OpenTTD
|
||||||
|
launcher_category=Games
|
||||||
|
launcher_command=/usr/local/games/openttd
|
||||||
|
|
||||||
configure() {
|
configure() {
|
||||||
host_env
|
host_env
|
||||||
|
@ -44,4 +47,6 @@ install() {
|
||||||
)
|
)
|
||||||
|
|
||||||
ln -sf /usr/local/games/openttd $DESTDIR/usr/local/bin/openttd
|
ln -sf /usr/local/games/openttd $DESTDIR/usr/local/bin/openttd
|
||||||
|
|
||||||
|
install_launcher
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue