# $Id: PKGBUILD 87050 2013-03-26 11:49:43Z foutrelis $ # Maintainer: Vesa Kaihlavirta pkgname=openttd pkgver=1.2.3 pkgrel=5 pkgdesc='An engine for running Transport Tycoon Deluxe.' arch=('i686' 'x86_64' 'mips64el') url='http://www.openttd.org' license=('GPL') depends=('libpng' 'sdl' 'icu' 'fontconfig' 'lzo2' 'hicolor-icon-theme' 'desktop-file-utils' 'xz') install=openttd.install optdepends=('openttd-opengfx: free graphics' 'openttd-opensfx: free soundset') source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.xz") sha256sums=('d228798f7d4804b7ead186ec19082f0e6c83cfc2dbf625ddab1d22048117fd08') package() { 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 make install }