summaryrefslogtreecommitdiffstats
path: root/abs/extra/geoclue
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/geoclue')
-rw-r--r--abs/extra/geoclue/PKGBUILD36
-rw-r--r--abs/extra/geoclue/geoclue.install11
2 files changed, 24 insertions, 23 deletions
diff --git a/abs/extra/geoclue/PKGBUILD b/abs/extra/geoclue/PKGBUILD
index 78936e4..84a354d 100644
--- a/abs/extra/geoclue/PKGBUILD
+++ b/abs/extra/geoclue/PKGBUILD
@@ -1,35 +1,25 @@
-# $Id: PKGBUILD 156782 2012-04-23 09:05:31Z ibiru $
+# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: György Balló <ballogy@freestart.hu>
pkgname=geoclue
-pkgver=0.12.0
-pkgrel=5
+pkgver=0.12.99
+pkgrel=2
pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="http://geoclue.freedesktop.org/"
-license=('LGPL')
-depends=('dbus-glib' 'libxml2')
-optdepends=('networkmanager: geolocation'
- 'gconf: geolocation'
- 'libsoup-gnome: Skyhook location provider')
-makedepends=('gconf' 'libsoup-gnome' 'gtk-doc')
-options=('!libtool')
-source=(https://launchpad.net/geoclue/trunk/${pkgver%.*}/+download/$pkgname-$pkgver.tar.gz
- geoclue-gcc46.patch)
-md5sums=('33af8307f332e0065af056ecba65fec2'
- '0cf8ecc350be702f623ed9a9715818c5')
+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
- patch -Np1 -i ../geoclue-gcc46.patch
-
- sed -i 's/libnm_glib/libnm-glib/g' configure.ac
- sed -i '/libsoup-gnome/s/$/ gthread-2.0/' configure.ac
- autoreconf -f -i
-
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
- --disable-static
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/$pkgname --disable-static
make
}
diff --git a/abs/extra/geoclue/geoclue.install b/abs/extra/geoclue/geoclue.install
new file mode 100644
index 0000000..c25dff2
--- /dev/null
+++ b/abs/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
+}