pkgname=routino pkgver=3.2 pkgrel=1 pkgdesc='Router for OpenStreetMap Data' arch=('x86_64') url='http://www.routino.org/' license=('AGPL3') depends=('zlib' 'bzip2') makedepends=('make' 'subversion') conflicts=('routino-experimental') replaces=('routino-experimental') source=("http://routino.org/download/routino-$pkgver.tgz") sha256sums=('e2a431eaffbafab630835966d342e4ae25d5edb94c8ed419200e1ffb50bc7552') prepare() { cd "$pkgname-$pkgver" sed -i 's|prefix=/usr/local|prefix=/usr|' Makefile.conf } build() { MAKEFLAGS=-j1 if echo $MAKEFLAGS | grep -q -- '-j[2-9]' then error "Routino parallele compilation failed. Please unset -j make flag and relaunch the build." plain "$(gettext "Aborting...")" exit 1 fi cd "$pkgname-$pkgver" make } package() { cd "$pkgname-$pkgver" make DESTDIR="${pkgdir}" install mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/" }