summaryrefslogtreecommitdiff
path: root/community/warmux/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/warmux/PKGBUILD')
-rw-r--r--community/warmux/PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/community/warmux/PKGBUILD b/community/warmux/PKGBUILD
index 473e98ef7..dcf0fecad 100644
--- a/community/warmux/PKGBUILD
+++ b/community/warmux/PKGBUILD
@@ -1,25 +1,31 @@
-# $Id: PKGBUILD 47366 2011-05-22 06:58:10Z lcarlier $
+# $Id: PKGBUILD 63773 2012-02-05 12:13:45Z ibiru $
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: pukyxd
# Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com>
pkgname=warmux
pkgver=11.04.1
-pkgrel=3
+pkgrel=4
pkgdesc="A clone of the worms game"
arch=('i686' 'x86_64')
url="http://www.wormux.org/"
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=('26ff65c43a9bb61a3f0529c98b943e35')
+source=(http://download.gna.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+ include-zlib.patch
+ gcc-fix.patch)
+md5sums=('26ff65c43a9bb61a3f0529c98b943e35'
+ 'c8285955e880f80e3c68312715a3061c'
+ '693176b72c9568c0c223be76ea7dd0d2')
build() {
cd "${srcdir}/${pkgname}-${pkgver/.1/}"
- #gcc 4.6.0 fix
- #sed -i '27i#include <stddef.h>' lib/warmux/include/WARMUX_action.h
+ # libpng 1.5 fix
+ patch -Np1 -i ../include-zlib.patch
+ # gcc fix
+ patch -Np1 -i ../gcc-fix.patch
./configure --prefix=/usr
make