author | Thomas Dziedzic
<gostrc@gmail.com> 2010-07-09 05:45:30 UTC |
committer | Thomas Dziedzic
<gostrc@gmail.com> 2010-07-09 05:45:30 UTC |
parent | 60f611b60283120065412391970488f9433e309a |
PKGBUILD | +22 | -15 |
diff --git a/PKGBUILD b/PKGBUILD index bd80c77..7542ed6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,30 +1,37 @@ # Maintainer: Vesa Kaihlavirta <vegai@iki.fi> pkgname=openttd -pkgver=1.0.1 +pkgver=1.0.2 pkgrel=1 -pkgdesc="An engine for running Transport Tycoon Deluxe" +pkgdesc='An engine for running Transport Tycoon Deluxe.' arch=('i686' 'x86_64') -url="http://www.openttd.org" +url='http://www.openttd.org' license=('GPL') -depends=(libpng sdl icu fontconfig hicolor-icon-theme desktop-file-utils) -makedepends=() -source=(http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.bz2) +depends=('libpng' 'sdl' 'icu' 'fontconfig' 'hicolor-icon-theme' 'desktop-file-utils') install=openttd.install optdepends=('openttd-opengfx: free graphics' 'openttd-opensfx: free soundset') +source=("http://binaries.openttd.org/releases/${pkgver}/${pkgname}-${pkgver}-source.tar.bz2") +md5sums=('a0dea2e138e90949f621c215b465ea32') build() { - cd ${srcdir}/${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} + cd ${pkgname}-${pkgver} - make || return 1 - make install || return 1 -} + ./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} -md5sums=('c79d21ea55141e1a2e75ac0430360898') + make install +}