# $Id: PKGBUILD 29431 2009-03-08 17:37:38Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libgnomeui
pkgver=2.24.1
pkgrel=1
pkgdesc="User Interface library for GNOME"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('libbonoboui>=2.24.1' 'gnome-keyring>=2.24.1')
makedepends=('intltool' 'pkgconfig')
options=('!libtool' 'force')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2)
md5sums=('8e7d36dd1decfcf5cc4d5cb93bc4d217')

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