summaryrefslogtreecommitdiff
path: root/extra/geoclue2
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-08 02:34:09 -0700
committerroot <root@rshg054.dnsready.net>2013-10-08 02:34:09 -0700
commit3a0ad5dc35d5cff379cdfc736b9cae856416fe6a (patch)
treea6af20a38d47d7a7ae8e1b98f70005c54644bbdd /extra/geoclue2
parent9159b8ca1c97a398204d7a7d4d78c3394639bd02 (diff)
Tue Oct 8 02:32:53 PDT 2013
Diffstat (limited to 'extra/geoclue2')
-rw-r--r--extra/geoclue2/PKGBUILD30
-rw-r--r--extra/geoclue2/geoclue.install11
2 files changed, 41 insertions, 0 deletions
diff --git a/extra/geoclue2/PKGBUILD b/extra/geoclue2/PKGBUILD
new file mode 100644
index 000000000..70f7bfb9a
--- /dev/null
+++ b/extra/geoclue2/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 196002 2013-10-07 11:46:24Z jgc $
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Contributor: György Balló <ballogy@freestart.hu>
+
+pkgname=geoclue2
+pkgver=1.99.4
+pkgrel=1
+pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
+arch=(i686 x86_64)
+url="http://geoclue.freedesktop.org/"
+license=(LGPL)
+depends=(libsoup json-glib)
+makedepends=(intltool geoip)
+optdepends=('geoip: geoip-lookup server binary')
+options=('!libtool')
+install=geoclue.install
+source=(http://freedesktop.org/software/geoclue/releases/1.99/geoclue-$pkgver.tar.xz)
+md5sums=('b991f4a409b492996a38627ee18fa76e')
+
+build() {
+ cd geoclue-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/$pkgname --disable-static
+ make
+}
+
+package() {
+ cd geoclue-$pkgver
+ make DESTDIR="$pkgdir" install
+}
diff --git a/extra/geoclue2/geoclue.install b/extra/geoclue2/geoclue.install
new file mode 100644
index 000000000..c25dff2d3
--- /dev/null
+++ b/extra/geoclue2/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
+}