# $Id: PKGBUILD,v 1.1 2008/09/27 07:05:31 allan Exp $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Bernhard Walle <bernhard.walle@gmx.de>

pkgname=libnxml
pkgver=0.18.3
pkgrel=1
pkgdesc="C library for parsing, writing and creating XML 1.0 and 1.1 files or streams"
url="http://www2.autistici.org/bakunin//libnxml/"
license=('LGPL')
depends=('curl')
arch=('i686' 'x86_64')
options=('!libtool')
source=(http://www2.autistici.org/bakunin//libnxml/$pkgname-$pkgver.tar.gz)
md5sums=('857f43970e7f0724d28f4ddc87085daf')

build() {
    cd $srcdir/$pkgname-$pkgver
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$pkgdir install
}