1 # Maintainer: Tim Besard <tim.besard@gmail.com>
5 pkgdesc="Command line Java application for processing OSM data."
7 url="http://wiki.openstreetmap.org/wiki/Osmosis"
9 depends=('java-runtime')
11 source=(http://bretth.dev.openstreetmap.org/$pkgname-build/$pkgname-$pkgver.tgz)
12 md5sums=('793a1cff312ed003e90ee090d77c33db')
15 cd "$srcdir/$pkgname-$pkgver"
16 mkdir -p $pkgdir/usr/share/$pkgname
17 cp -a * $pkgdir/usr/share/$pkgname/
18 chmod +x $pkgdir/usr/share/$pkgname/bin/$pkgname
20 mkdir -p $pkgdir/usr/bin
21 cat >> $pkgdir/usr/bin/$pkgname << EOF
23 /usr/share/$pkgname/bin/$pkgname "\$@"
25 chmod a+x $pkgdir/usr/bin/$pkgname