summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6489465119271b6e3f9ae2607824ead309977c1f (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.6.1
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')
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=('f31d2a36674c39c6fa440bec11a71796'
         '10ed8bf9ddfed9ac083234849b777066')