diff options
Diffstat (limited to 'community/warmux/PKGBUILD')
-rw-r--r-- | community/warmux/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/warmux/PKGBUILD b/community/warmux/PKGBUILD new file mode 100644 index 000000000..aabe8ab65 --- /dev/null +++ b/community/warmux/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 41384 2011-03-05 15:36:57Z lcarlier $ +# Contributor: Eric Belanger <eric@archlinux.org> +# Contributor: pukyxd +# Maintainer: Daenyth <Daenyth+Arch AT gmail DOT com> + +pkgname=warmux +pkgver=11.01 +pkgrel=1 +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') +replaces=('wormux') +source=(http://download.gna.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('ecf98ff1a91899d35d0ba8266ace9787') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} |