updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / osm4routing-git / PKGBUILD
blob509ce91240656163b8ac998f17125f92f807883f
1 # Contributor: Tristram Gräbener <tristramg at gmail dot com>
3 pkgname=osm4routing-git
4 pkgver=20091102
5 pkgrel=1
6 pkgdesc="OSM parser for routing. Produces csv files or postgis tables"
7 arch=('i686' 'x86_64')
8 url="http://github.com/Tristramg/osm4routing"
9 license=('GPL3')
10 depends=(boost postgresql-libs) 
11 makedepends=(gcc git)
12 source=()
13 md5sums=()
15 _gitroot="git://github.com/Tristramg/osm4routing.git"
16 _gitname="osm4routing"
19 build() {
20   cd $startdir/src || return 1
21   git clone $_gitroot || return 1
23   msg "GIT checkout done or server timeout"
24   msg "Starting make..."
26   cd $_gitname || return 1
28   make || return 1
29   mkdir -p $startdir/pkg/usr/bin || return 1
30   cp osm4routing $startdir/pkg/usr/bin || return 1