summaryrefslogtreecommitdiff
path: root/community/warzone2100/PKGBUILD
blob: 4db19d12c4d3f50fdf3eebdbd1617dd1774de6b7 (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 63775 2012-02-05 12:13:50Z ibiru $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>

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

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

  ./configure --prefix=/usr --with-distributor="Arch linux"

  make
}

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

  make DESTDIR=${pkgdir} install
}