# $Id: PKGBUILD 29428 2009-03-08 17:35:50Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libbonoboui
pkgver=2.24.1
pkgrel=1
pkgdesc="User Interface library for Bonobo"
arch=(i686 x86_64)
license=('GPL' 'LGPL')
depends=('libgnomecanvas>=2.20.1.1' 'libgnome>=2.24.1')
makedepends=('perlxml' 'pkgconfig')
options=('!libtool' '!emptydirs')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2)
md5sums=('9ff3ec1c7aefd0b1a15a5b21ecc7b4e4')

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
  rm -f "${pkgdir}/usr/share/applications/bonobo-browser.desktop"
}