# $Id: PKGBUILD 153606 2015-12-17 13:27:42Z fyan $ # Maintainer (Arch): Vesa Kaihlavirta <vegai@iki.fi> # Maintainer: André Silva <emulatorman@parabola.nu> pkgname=openttd pkgver=1.5.3 pkgrel=1.parabola2 pkgdesc='An engine for running Transport Tycoon Deluxe, without nonfree openttd-opensfx recommendation' arch=('i686' 'x86_64' 'armv7h') url='http://www.openttd.org' license=('GPL') depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo' 'hicolor-icon-theme' 'desktop-file-utils' 'xz') install=openttd.install optdepends=('openttd-opengfx: free graphics') source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz") sha256sums=('d8b9a7aaca7c9f3ff69b1d210daf1e2658402941bb9b30cb2789a9df73d1ba63') build() { cd ${pkgname}-${pkgver} ./configure \ --prefix-dir=/usr \ --binary-name=${pkgname} \ --binary-dir=bin \ --data-dir=share/${pkgname} \ --install-dir=${pkgdir} \ --doc-dir=share/doc/${pkgname} \ --menu-name="OpenTTD" \ --personal-dir=.${pkgname} make } package() { cd ${pkgname}-${pkgver} make install }