diff options
Diffstat (limited to 'community/warmux/PKGBUILD')
-rw-r--r-- | community/warmux/PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/community/warmux/PKGBUILD b/community/warmux/PKGBUILD index d4268ee38..3fd4f09a0 100644 --- a/community/warmux/PKGBUILD +++ b/community/warmux/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 45573 2011-04-24 16:51:07Z lcarlier $ +# $Id: PKGBUILD 47366 2011-05-22 06:58:10Z lcarlier $ # Contributor: Eric Belanger <eric@archlinux.org> # Contributor: pukyxd # Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com> pkgname=warmux -pkgver=11.04 -pkgrel=2 +pkgver=11.04.1 +pkgrel=3 pkgdesc="A clone of the worms game" arch=('i686' 'x86_64' 'mips64el') url="http://www.wormux.org/" @@ -13,22 +13,22 @@ license=('GPL') 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=('668cd4c22afde352c566454e65fc4144') +md5sums=('26ff65c43a9bb61a3f0529c98b943e35') build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver/.1/}" #gcc 4.6.0 fix - sed -i '27i#include <stddef.h>' lib/warmux/include/WARMUX_action.h + #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}") + 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/.1/}") - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgname}-${pkgver/.1/}" make DESTDIR="${pkgdir}" install rm -r ${pkgdir}/usr/share/warmux |