updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / prune_bin / PKGBUILD
blob409895653f084339763734ee3fc327c31bed9464
1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
3 pkgname=prune_bin
4 pkgver=12.1
5 pkgrel=1
6 pkgdesc="a java application for viewing, editing and converting coordinate data from GPS systems"
7 arch=('i686' 'x86_64')
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/prune/prune_${pkgver}.jar" "http://activityworkshop.net/software/prune/prunelogo.png" "prune.desktop")
13 install='prune.install'
14 md5sums=('582eb711565c59eceae28e2d0f902bd9'
15          '0dce06ef7eec27ecff78eb0a83c0b123'
16          '93c6f0df93f3dcc42655071bd9fb0c7c')
18 build() {
19 return 0
22 package() {
23 cd $srcdir
24 install -D -m644 ./prune_${pkgver}.jar $pkgdir/usr/share/java/prune/prune_${pkgver}.jar
25 echo -e "#"'!'"/bin/bash\njava -jar /usr/share/java/prune/prune_${pkgver}.jar \"\$@\"" >./gpsprune
26 install -D -m755 ./gpsprune $pkgdir/usr/bin/gpsprune
27 install -D -m644 $srcdir/prunelogo.png $pkgdir/usr/share/pixmaps/prune.png
28 install -D -m644 $srcdir/prune.desktop $pkgdir/usr/share/applications/prune.desktop