1 # Maintainer: Laurent Carlier <lordheavym@gmail.com>
2 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
3 # Contributor: Vesa Kaihlavirta <vegai@iki.fi>
8 pkgdesc='Engine for running Transport Tycoon Deluxe'
10 url='https://www.openttd.org'
12 depends=(fluidsynth fontconfig hicolor-icon-theme)
13 makedepends=(cmake ninja)
14 optdepends=('openttd-opengfx: free graphics'
15 'openttd-opensfx: free soundset')
16 source=("https://cdn.$pkgname.org/$pkgname-releases/$pkgver/$pkgname-$pkgver-source.tar.xz")
17 b2sums=('2d289defa38583c95f90322964ba43756468d7fa50087267119f00ccc3688e68e22631f41b091d44b1afaa878f8621f27ba58a0623d5be9420b61833dba8d6e7')
20 sed -i '/sse/d;/SSE/d' $pkgname-$pkgver/CMakeLists.txt
26 -D CMAKE_BUILD_TYPE=Release \
27 -D CMAKE_INSTALL_BINDIR=bin \
28 -D CMAKE_INSTALL_DATADIR=/usr/share \
29 -D CMAKE_INSTALL_PREFIX=/usr \
36 DESTDIR="$pkgdir" ninja -C build install