updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gpsprune_bin / PKGBUILD
blobcf875a9d5ef30aae61399e8fc600a2fcf0c0c66f
1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=gpsprune_bin
4 pkgver=13
5 pkgrel=1
6 pkgdesc="a java application for viewing, editing and converting coordinate data from GPS systems"
7 arch=('any')
8 url="http://sourceforge.net/projects/prune-gps/"
9 license=("GPL")
10 depends=('java-runtime')
11 optdepends=('java3d' 'povray' 'exiftool' 'gpsbabel' 'gnuplot')
12 source=("http://activityworkshop.net/software/${pkgname%%_bin}/${pkgname%%_bin}_${pkgver}.jar" "http://activityworkshop.net/software/prune/prunelogo.png" "${pkgname%%_bin}.desktop")
13 md5sums=('eb3f269111c16cedbfacb84ee05a668e'
14          '0dce06ef7eec27ecff78eb0a83c0b123'
15          '000b0d3ba573fedf4eaf92ac6c1829dd')
16 noextract=("${pkgname%%_bin}_${pkgver}.jar")
17 replaces=('prune_bin')
20 build() {
21 return 0
24 package() {
25 cd $srcdir
26 install -D -m644 ./gpsprune_${pkgver}.jar $pkgdir/usr/share/java/gpsprune/gpsprune_${pkgver}.jar
27 echo -e "#"'!'"/bin/bash\njava -jar /usr/share/java/gpsprune/gpsprune_${pkgver}.jar \"\$@\"" >./gpsprune
28 install -D -m755 ./gpsprune $pkgdir/usr/bin/gpsprune
29 install -D -m644 $srcdir/prunelogo.png $pkgdir/usr/share/pixmaps/gpsprune.png
30 install -D -m644 $srcdir/gpsprune.desktop $pkgdir/usr/share/applications/gpsprune.desktop