blob: af345578525d6495360f6b3264eb2d583fbe8c39 (
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.2
pkgrel=3
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=('archlinux-java-run')
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=('9ff7ef0fc5c83e3ecbbed572291edb92'
'a9c1115c51482f9ea07f95c2e70359da')
|