# $Id: PKGBUILD 82377 2013-01-16 10:35:35Z lcarlier $ # Maintainer: Vesa Kaihlavirta # Contributor: Angelo Theodorou pkgname=warzone2100 pkgver=3.1.0 pkgrel=1 pkgdesc="3D realtime strategy game on a future Earth" url="http://wz2100.net/" arch=('i686' 'x86_64' 'mips64el') license=('GPL') depends=('sdl' 'glew' 'fribidi' 'openal' 'libvorbis' 'libtheora' 'physfs' 'ttf-dejavu' 'qt') makedepends=('gawk' 'flex' 'zip' 'unzip' 'asciidoc' 'mesa') source=("http://downloads.sourceforge.net/project/warzone2100/releases/${pkgver}/${pkgname}-${pkgver}.tar.xz") md5sums=('7f061f3e5a2a6a83c146508ccefabd86') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr --with-distributor="Arch linux" make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }