1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
6 pkgdesc="a java application for viewing, editing and converting coordinate data from GPS systems"
8 url="http://sourceforge.net/projects/prune-gps/"
10 depends=('java-runtime')
11 makedepends=('java-environment' 'java3d')
12 optdepends=('java3d' 'povray' 'exiftool' 'gpsbabel' 'gnuplot')
13 source=("http://activityworkshop.net/software/${pkgname%%_bin}/${pkgname%%_bin}_${pkgver}_source.tar.bz2" "http://activityworkshop.net/software/prune/prunelogo.png" "${pkgname%%_bin}.desktop")
14 md5sums=('caefa709da0a6df81fb85c7578a018e9'
15 '0dce06ef7eec27ecff78eb0a83c0b123'
16 '000b0d3ba573fedf4eaf92ac6c1829dd')
17 noextract=("${pkgname%%_bin}_${pkgver}.jar")
18 conflicts=('gpsprune_bin' 'prune_dev_bin')
22 cd ${srcdir}/${pkgname%%_bin}_${pkgver}
28 cd ${srcdir}/${pkgname%%_bin}_${pkgver}
29 install -D -m644 dist/gpsprune_${pkgver}.jar $pkgdir/usr/share/java/gpsprune/gpsprune_${pkgver}.jar
30 echo -e "#"'!'"/bin/bash\njava -jar /usr/share/java/gpsprune/gpsprune_${pkgver}.jar \"\$@\"" >./gpsprune
31 install -D -m755 ./gpsprune $pkgdir/usr/bin/gpsprune
32 install -D -m644 $srcdir/prunelogo.png $pkgdir/usr/share/pixmaps/gpsprune.png
33 install -D -m644 $srcdir/gpsprune.desktop $pkgdir/usr/share/applications/gpsprune.desktop