summaryrefslogtreecommitdiff
path: root/community/warzone2100/PKGBUILD
blob: 148370ccbec700cefe0cdef94fb5e5fb56bf0163 (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
30
# $Id: PKGBUILD 77666 2012-10-13 11:45:54Z allan $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Angelo Theodorou <encelo@users.sourceforge.net>

pkgname=warzone2100
pkgver=2.3.9
pkgrel=3
pkgdesc="3D realtime strategy game on a future Earth"
url="http://wz2100.net/"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
depends=('sdl' 'openal' 'libpng' 'libvorbis' 'libtheora' 'physfs' 'quesoglc' 'popt' 'ttf-dejavu')
makedepends=('gawk' 'bison' 'flex' 'zip' 'unzip' 'asciidoc')
source=(#"http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.gz"
        "http://downloads.sourceforge.net/project/warzone2100/archive/${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
}