# $Id: PKGBUILD 18537 2008-11-06 23:26:35Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libgtkhtml
pkgver=2.11.1
pkgrel=2
pkgdesc="An HTML library for GTK"
arch=(i686 x86_64)
license=('LGPL')
depends=('gtk2>=2.14.4' 'libxml2>=2.6.32')
makedepends=('perlxml' 'pkgconfig')
options=('!libtool')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.11/${pkgname}-${pkgver}.tar.bz2)
md5sums=('a1d1a197dcff8c4571659deef5495e24')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --disable-static || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
}