summaryrefslogtreecommitdiff
path: root/community/warmux/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
committerroot <root@rshg047.dnsready.net>2011-04-27 22:24:53 +0000
commit18d6577d511b9a1ac36eaae50060133a401e42a3 (patch)
treef681f9444a7a0a95916de40af82d3b805d5fb8d3 /community/warmux/PKGBUILD
parent69e1fada8bdc9588d0a3d8bc3403fa809d809a84 (diff)
Wed Apr 27 22:24:53 UTC 2011
Diffstat (limited to 'community/warmux/PKGBUILD')
-rw-r--r--community/warmux/PKGBUILD17
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
}