# $Id: PKGBUILD 3474 2008-06-22 20:19:25Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=dbus-glib
pkgver=0.76
pkgrel=1
pkgdesc="GLib bindings for DBUS"
arch=(i686 x86_64)
license=('GPL')
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
depends=('dbus>=1.2.1' 'glib2>=2.16.3')
makedepends=('pkgconfig')
options=('!libtool')
source=(http://dbus.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('d3b716a7e798faa1c6a867675f00306a')

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