# $Id: PKGBUILD 168598 2012-10-13 11:46:40Z andyrtr $ # Contributor: Damir Perisa # Contributor: Kevin Piche # Maintainer: Gaetan Bisson pkgname=bzflag pkgver=2.4.2 pkgrel=1 pkgdesc='Multiplayer 3D tank battle game' url='http://bzflag.org/' license=('LGPL') options=('!libtool') arch=('i686' 'x86_64' 'mips64el') depends=('curl' 'glew' 'glu' 'sdl') source=("http://downloads.sourceforge.net/project/bzflag/bzflag%20source/${pkgver}/bzflag-${pkgver}.tar.bz2") sha1sums=('36c67c0734a1318b34b39ed0da49606e05ebd291') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make cd misc make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install install -Dm644 misc/bzflag.desktop "${pkgdir}"/usr/share/applications/bzflag.desktop install -Dm644 data/bzflag-48x48.png "${pkgdir}"/usr/share/pixmaps/bzflag-48x48.png }