summaryrefslogtreecommitdiff
path: root/gnome-unstable/geoclue/PKGBUILD
blob: b00fd692dcd0136fb33db89aec36a2dbecad3f83 (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
29
30
31
# $Id: PKGBUILD 154558 2012-03-30 08:55:09Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: György Balló <ballogy@freestart.hu>

pkgname=geoclue
pkgver=0.12.0
pkgrel=4
pkgdesc="Modular geoinformation service built on the D-Bus messaging system."
arch=('i686' 'x86_64')
url="http://geoclue.freedesktop.org/"
license=('LGPL')
depends=('gconf' 'gtk2' 'libsoup-gnome' 'networkmanager')
options=('!libtool')
source=(https://launchpad.net/geoclue/trunk/${pkgver%.*}/+download/$pkgname-$pkgver.tar.gz
        geoclue-gcc46.patch)
md5sums=('33af8307f332e0065af056ecba65fec2'
         '0cf8ecc350be702f623ed9a9715818c5')

build() {
  cd $pkgname-$pkgver
  patch -Np1 -i ../geoclue-gcc46.patch
  sed -i 's/libnm_glib/libnm-glib/g' configure
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/$pkgname \
              --disable-static --enable-skyhook=no
  make
}

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