diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-03 16:47:08 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-09-03 16:47:08 -0300 |
commit | a420f5c4c2a4eeb411175d086b339b620dba309d (patch) | |
tree | aa810cc98c17cf30cad06226c22f8256c056430e /community-testing/warmux/PKGBUILD | |
parent | 0ec0464a32563349252dda85e9176a9475d6fc34 (diff) | |
parent | 81de702a6fc79e430129a7d2b708d90f43ae5ba1 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/vdrift/PKGBUILD
community-testing/widelands/PKGBUILD
core/cracklib/PKGBUILD
core/systemd/PKGBUILD
extra/imagemagick/PKGBUILD
extra/mesa/PKGBUILD
multilib/lib32-glibc/PKGBUILD
testing/libreoffice/PKGBUILD
testing/mpfr/PKGBUILD
testing/systemd/PKGBUILD
testing/sysvinit/PKGBUILD
testing/yp-tools/PKGBUILD
Diffstat (limited to 'community-testing/warmux/PKGBUILD')
-rw-r--r-- | community-testing/warmux/PKGBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/community-testing/warmux/PKGBUILD b/community-testing/warmux/PKGBUILD new file mode 100644 index 000000000..901d43506 --- /dev/null +++ b/community-testing/warmux/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 75742 2012-08-30 16:56:08Z heftig $ +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: pukyxd +# Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com> + +pkgname=warmux +pkgver=11.04.1 +pkgrel=5 +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.24' '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 + include-zlib.patch + gcc-fix.patch) +md5sums=('26ff65c43a9bb61a3f0529c98b943e35' + 'c8285955e880f80e3c68312715a3061c' + 'ab50d613d3fa3f71262b1d2fc71641b1') + +build() { + cd "${srcdir}/${pkgname}-${pkgver/.1/}" + + # libpng 1.5 fix + patch -Np1 -i ../include-zlib.patch + # gcc fix + patch -Np1 -i ../gcc-fix.patch + + ./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/.1/}") + + cd "${srcdir}/${pkgname}-${pkgver/.1/}" + + make DESTDIR="${pkgdir}" install + rm -r ${pkgdir}/usr/share/warmux +} |