diff --git a/extra/geoclue/PKGBUILD b/extra/geoclue/PKGBUILD new file mode 100644 index 000000000..479d0631a --- /dev/null +++ b/extra/geoclue/PKGBUILD @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Jan Alexander Steffens (heftig) +# Contributor: György Balló + +pkgname=geoclue +pkgver=0.12.99 +pkgrel=1.1 +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=(networkmanager libsoup-gnome gtk-doc) +optdepends=('networkmanager: geolocation' + 'libsoup-gnome: Skyhook location provider') +options=('!libtool') +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 +} diff --git a/extra/geoclue/geoclue.install b/extra/geoclue/geoclue.install new file mode 100644 index 000000000..c25dff2d3 --- /dev/null +++ b/extra/geoclue/geoclue.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +}