blob: b080acae3152bff6466c876276095229154c010d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: googol42
# Contributor: Jeremy Audet <jerebear@protonmail.com>
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Arnaud Durand-Favreau <biginoz at FREE point FR>
#
# namcap warns that 'java-environment' is a dependency. This is untrue:
# java-runtime suffices. Also, java-runtime provides 'sh'.
#
pkgname=mkgmap
pkgver=4922
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')
optdepends=('splitter')
conflicts=("${pkgname}-svn")
source=("${pkgname}" "http://www.mkgmap.org.uk/download/${pkgname}-r${pkgver}.zip")
sha256sums=('135dfbca5146cea34ef48ed6908a817efdfbbcccbb8adfbbb6a100f58c2c7bb6'
'22c002149bd820a6edc9c1192da9618b691de151e1496f24baf98318e2dcd860')
package() {
cd "${srcdir}/${pkgname}-r${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:
|