# Compiling time: 1.66 SBU # Maintainer: Anthony Jorion # Contributor: Laszlo Dvornik # Contributor: Devil505 pkgname=openttd pkgver=1.11.2 pkgrel=1 pkgdesc="An open source clone of the Microprose game Transport Tycoon Deluxe." url="http://www.openttd.org" depends=('sdl>=1.2.15-3' 'xz>=5.2.2-4' 'lzo>=2.09-4' 'libpng>=1.6.20' \ 'fontconfig>=2.11.94-3' 'icu4c>=69.1' 'libtimidity>=0.1.0-2') makedepends+=('catcodec' 'grfcodec') rodepends=('opensfx' 'opengfx>=0.5.5') groups=('games-extra') archs=('x86_64') up2date="Flastarchive $url/downloads/openttd-releases/latest.html -source.tar.xz" _F_gnome_iconcache=y Finclude gnome-scriptlet cmake Fconfopts=" --prefix-dir=/usr \ --binary-dir=bin \ --data-dir=share/$pkgname \ --doc-dir=share/doc/$pkgname-$pkgver \ --install-dir=$Fdestdir" source=("https://cdn.openttd.org/openttd-releases/$pkgver/openttd-$pkgver-source.tar.xz") sha1sums=('1894134b7bfc7c645ce9c4fe5747db3dd40abf61') build() { CMake_build Fbuild_gnome_scriptlet } # optimization OK