summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 159a67c6f2503d9ae0d7723954909e30c1e0d7ea (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
# Maintainer: Thibault Molleman <aur at thibaultmol d0t link>
# Contributor: Brian "Beej Jorgensen" Hall <beej@beej.us>

pkgname=josm-javaws
pkgver='tested'
pkgrel=2
pkgdesc="An editor for OpenStreetMap written in Java, Java Web Start version (auto updates on startup)"
arch=('any')
url="http://josm.openstreetmap.de/"
license=('GPL')
depends=('java-runtime' 'java-web-start' 'libxtst' 'ttf-font')
backup=('etc/conf.d/josm')
provides=('josm')
conflicts=('josm')
source=('https://josm.openstreetmap.de/download/josm.jnlp'
        'https://josm.openstreetmap.de/logo.png'
        'josm.desktop'
        'josm'
        'josm.conf.d')

sha256sums=('a4b196bfe34796c76441586abadafd4e48478caef3debb8248021d3f6ba906fe'
            '4f7ac6e53fe4660a69b183b0d46596f9ee496d4736a2652326c64ebc5e3023fb'
            'edfb2cbf2aa7e6582b4d43cd402ea58be7990702e5ffffc3ff7afdc518c28ca9'
            '345bc3e4436f93f4980051ccec226224fa8d6b513cde8da98294cc3b4bcdc9dc'
            'c86a73251eed42fcb129ae9b88a0ee3cf03d8d00a9385519ad536d5af0907663')

package() {
  cd "${srcdir}"
  
  install -D -m644 josm.jnlp "${pkgdir}"/usr/share/java/josm/josm.jnlp
  install -D -m644 "${srcdir}"/josm.desktop ${pkgdir}/usr/share/applications/josm.desktop
  install -D -m644 'logo.png' "${pkgdir}"/usr/share/pixmaps/josm.png
  install -D -m755 josm "${pkgdir}"/usr/bin/josm
  install -Dm644 "${srcdir}"/josm.conf.d "${pkgdir}"/etc/conf.d/josm
}