# Maintainer: Erich Eckner # Contributor: Jeremy "Ichimonji10" Audet # Contributor: Jaroslav Lichtblau # Contributor: Arnaud Durand-Favreau # # namcap warns that 'java-environment' is a dependency. This is untrue: # java-runtime suffices. Also, java-runtime provides 'sh'. # pkgname=mkgmap pkgver=r4171 pkgrel=1 pkgdesc='Create maps for Garmin GPS devices from OpenStreetMap (OSM) data.' url='http://www.mkgmap.org.uk' license=(GPL2) arch=(any) depends=('java-runtime=8') conflicts=("${pkgname}-svn") source=("$pkgname" "http://www.mkgmap.org.uk/download/${pkgname}-${pkgver}.zip") sha512sums=('0b7b9db6866e11b1518120f0ad2df3e3d2437c57cf38a396a6cd1892f76d3ed2e10cf10a9adf9eea435a95182041d55f765ddd3ef83751ce6f66445c5e64d0ff' 'b5a93e30175a5701d90491bc2d0d42ec64a2fdcd89ce3720b137bb21d91b52e24be056b0515e0cbca701800df693a89bbd58573f9a4e44c7a27c15b8d4e0b993') package() { cd "${srcdir}/${pkgname}-${pkgver}" # Install the executable, jarfile, dependencies and man page. install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname" install -Dm644 \ "${pkgname}.jar" \ "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar" cp -r lib/ "${pkgdir}/usr/share/java/${pkgname}/" install -Dm644 "doc/${pkgname}.1" "${pkgdir}/usr/share/man/man1/${pkgname}.1" } # vim:set ts=2 sw=2 et: