diff options
Diffstat (limited to 'community/warmux')
-rw-r--r-- | community/warmux/PKGBUILD | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/community/warmux/PKGBUILD b/community/warmux/PKGBUILD index aabe8ab65..e4ee59003 100644 --- a/community/warmux/PKGBUILD +++ b/community/warmux/PKGBUILD @@ -1,30 +1,35 @@ -# $Id: PKGBUILD 41384 2011-03-05 15:36:57Z lcarlier $ +# $Id: PKGBUILD 45573 2011-04-24 16:51:07Z lcarlier $ # Contributor: Eric Belanger <eric@archlinux.org> # Contributor: pukyxd # Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com> pkgname=warmux -pkgver=11.01 -pkgrel=1 +pkgver=11.04 +pkgrel=2 pkgdesc="A clone of the worms game" arch=('i686' 'x86_64') url="http://www.wormux.org/" license=('GPL') -depends=('libxml++' 'sdl_image' 'sdl_gfx>=2.0.19' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'curl>=7.16.2' 'gcc-libs' 'libxml2') -makedepends=('pkgconfig') +makedepends=('pkgconfig' 'libxml++' 'sdl_image' 'sdl_gfx>=2.0.19' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'curl>=7.16.2' 'gcc-libs' 'libxml2') replaces=('wormux') source=(http://download.gna.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2) -md5sums=('ecf98ff1a91899d35d0ba8266ace9787') +md5sums=('668cd4c22afde352c566454e65fc4144') build() { cd "${srcdir}/${pkgname}-${pkgver}" + #gcc 4.6.0 fix + sed -i '27i#include <stddef.h>' lib/warmux/include/WARMUX_action.h + ./configure --prefix=/usr make } package() { + depends=('libxml++' 'sdl_image' 'sdl_gfx>=2.0.19' 'sdl_ttf' 'sdl_mixer' 'sdl_net' 'curl>=7.16.2' 'gcc-libs' 'libxml2' "warmux-data>=${pkgver}") + cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install + rm -r ${pkgdir}/usr/share/warmux } |