summaryrefslogtreecommitdiff
path: root/extra/geoclue2/PKGBUILD
blob: e36cfa7a8c78aae2b210503c05421195e68b99d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 214368 2014-06-07 21:05:17Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: György Balló <ballogy@freestart.hu>

pkgname=geoclue2
pkgver=2.1.8
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=(libsoup json-glib libnm-glib libmm-glib)
makedepends=(intltool geoip python2 systemd)
optdepends=('geoip: geoip-lookup server binary')
source=(http://freedesktop.org/software/geoclue/releases/${pkgver:0:3}/geoclue-$pkgver.tar.xz)
md5sums=('49096b9c3c2458b5e8e36b886983d9aa')

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
}