updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / gpxviewer / PKGBUILD
blob7c67114953556cb6a72652dee0ff934c0dc21387
1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
2 # Contributor: David Dent <thewinch@gmail.com>
4 pkgname=gpxviewer
5 arch=('i686' 'x86_64')
6 pkgver=0.2.0
7 pkgrel=3
8 pkgdesc="a simple program to visualize a gpx file"
9 license=('GPL-2')
10 url="http://blog.sarine.nl/gpx-viewer/"
11 depends=('vala>=0.7' 'libchamplain>=0.4.0' 'libxml2' 'intltool' 'gdl')
12 source=("http://edge.launchpad.net/gpx-viewer/trunk/${pkgver}/+download/gpx-viewer-${pkgver}.tar.gz" 'gpxviewer.desktop')
13 md5sums=('fb84bc2656685b20221b3a2050d90445'
14          '8d5ed2f4f1f26a60d078a77f9fd5f2a3')
16 build() {
17 cd $srcdir/gpx-viewer-${pkgver}
18 sed -i -e 's/champlain-gtk-0.4/champlain-gtk-0.8/' configure.ac
19 sed -i -e 's/champlain-0.4/champlain-0.8/' configure.ac
20 /usr/bin/autoconf
21 ./configure --prefix=/usr
22 make
25 package() {
26 cd $srcdir/gpx-viewer-${pkgver}
27 make DESTDIR=$pkgdir install