# $Id: PKGBUILD 94719 2013-07-29 13:10:04Z lcarlier $ # Maintainer: Vesa Kaihlavirta pkgname=openttd pkgver=1.3.2 pkgrel=1 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=('f6efc0cd0c4f4315a98844c331acc2e02322d5671ec376b9f0a11795b0eb270b') 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 }