# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>

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

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sysconfdir=/etc \
      --localstatedir=/var --disable-static
  make
  make DESTDIR="${pkgdir}" install
  rm -f "${pkgdir}/usr/share/applications/bonobo-browser.desktop"
}