updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / foxtrotgps / PKGBUILD
blobec0ccb023931532d2614928c34a91c82704cbd07
1 # Maintainer: Elena ``of Valhalla'' Grandi <elena.valhalla@gmail.com>
2 # Contributor: victorique <r+aur@wwad.de> (curlnew patch)
3 pkgname=foxtrotgps
4 pkgver=1.0.1
5 pkgrel=2
6 license=GPL
7 pkgdesc="a lightweight and fast mapping application (fork of tangoGPS)"
8 arch=(i686 x86_64)
9 depends=('libglade' 'gconf' 'libxml2' 'libexif' 'curl' 'gpsd')
10 makedepends=('intltool')
11 optdepends=('python2: import GeoRSS points')
12 source=(http://www.foxtrotgps.org/releases/$pkgname-$pkgver.tar.gz curlnew.patch)
13 url="http://www.foxtrotgps.org/"
14 md5sums=('982d14cdb0439cc4d6aa6cefc232124d' '387608f3564ea099556d92f0e79f9382')
16 build() {
17   cd $startdir/src/
18   patch -p0 -i $startdir/curlnew.patch
19   cd $startdir/src/$pkgname-$pkgver
20   ./configure --prefix=/usr
21   make
22   make DESTDIR=$startdir/pkg install
23   sed -i 's/python$/python2/' $startdir/pkg/usr/bin/georss2foxtrotgps-poi