summaryrefslogtreecommitdiff
path: root/community/lincity-ng/PKGBUILD
blob: ee4e04a08421cc28e382f14eed313188a133e993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 75818 2012-09-01 20:39:35Z heftig $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=lincity-ng
pkgver=2.0
pkgrel=5.1
pkgdesc="A city simulation game"
arch=('i686' 'x86_64')
url="https://fedorahosted.org/LinCity-NG"
license=('GPL' 'custom')
depends=('sdl_mixer' 'sdl_ttf' 'sdl_image' 'physfs' 'libxml2' 'sdl_gfx' 'gcc-libs' 'libgl')
makedepends=('ftjam' 'mesa')
source=(http://sourceforge.net/projects/${pkgname}.berlios/files/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('2961a3f60f7481b33858d7d5ef7cf9c788d01077')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  jam
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  jam -sprefix="${pkgdir}/usr" install
  install -D -m644 COPYING-data.txt "${pkgdir}/usr/share/licenses/${pkgname}/COPYING-data.txt"
  install -D -m644 COPYING-fonts.txt "${pkgdir}/usr/share/licenses/${pkgname}/COPYING-fonts.txt"
}