# $Id: PKGBUILD 13061 2008-09-25 20:01:10Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libgnomeui
pkgver=2.24.0
pkgrel=1
pkgdesc="User Interface library for GNOME"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('libbonoboui>=2.24.0' 'gnome-keyring>=2.24.0')
makedepends=('perlxml' '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=('7d50e1fc4c1ee3c268b26e8dfe7e677b')

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