# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: György Balló <ballogy@freestart.hu>

pkgname=geoclue
pkgver=0.12.99
pkgrel=2
pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
arch=(i686 x86_64)
url="http://geoclue.freedesktop.org/"
license=(LGPL)
depends=(dbus-glib libxml2 dconf)
makedepends=(libsoup-gnome gtk-doc)
optdepends=('libsoup-gnome: Skyhook location provider')
install=geoclue.install
source=(http://freedesktop.org/~hadess/$pkgname-$pkgver.tar.gz)
md5sums=('779245045bfeeec4853da8baaa3a18e6')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --libexecdir=/usr/lib/$pkgname --disable-static
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}