summaryrefslogtreecommitdiff
path: root/community/warzone2100/PKGBUILD
blob: f16a5a1c47e4c27d25e1194f1aef494d44a731e9 (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
28
29
# $Id: PKGBUILD 48138 2011-05-28 22:59:33Z lcarlier $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>

pkgname=warzone2100
pkgver=2.3.8
pkgrel=1
pkgdesc="3D realtime strategy game on a future Earth"
url="http://wz2100.net/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('sdl_net' 'libgl' 'openal' 'libjpeg' 'libpng' 'libvorbis' 'libtheora' 'libmad' 'physfs' 'mesa' 'quesoglc' 'popt' 'ttf-dejavu')
makedepends=('gawk' 'bison' 'flex' 'zip' 'unzip')
source=("http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.gz")
md5sums=('612306c1b6a9d38b632ea3168b824f5e')

build() {
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr 

  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
}