summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f7008d18973acf1c9b16843b4065b587e8d54c3b (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
# Maintainer: Jose Riha <jose1711 [at] gmail (dot) com>

pkgname=gpx-animator
pkgver=1.8.0
pkgrel=1
pkgdesc="Generate a top-down view map video from one or more GPX files"
arch=('any')
url="https://github.com/zdila/gpx-animator"
license=('Apache')
depends=('java-runtime>=1')
makedepends=('gendesk')
source=("${pkgname}-${pkgver}.jar"::"https://download.gpx-animator.app/${pkgname}-${pkgver}-all.jar"
        "gpx-animator.sh")
noextract=("${pkgname}-$pkgver.jar")

prepare() {
  cd "${srcdir}"
  gendesk -f -n --pkgname "${pkgname}" --pkgdesc "${pkgdesc}" --exec "${pkgname}" --categories "Science;DataVisualization"
}

package() {
  install -Dm644 ${pkgname}-$pkgver.jar "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
  install -Dm755 gpx-animator.sh "${pkgdir}/usr/bin/gpx-animator"
  install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
md5sums=('91741869de706e183670496b8cdad62c'
         'a9c1115c51482f9ea07f95c2e70359da')