updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / ww2d / PKGBUILD
blobc9d3f0290845ac4c2cdf0766ba9972b74dd60317
1 #Contributor: mpie <michael.kyne-phillips1@ntlworld.com> 
2  pkgname=ww2d
3  pkgver=0.99.87
4  pkgrel=1 
5  pkgdesc="Java GL earthviewer" 
6  url="http://ww2d.csoft.net"
7  depends=('j2re' 'mesa' 'jogl')
8  makepedpends=()
9  source=(http://ww2d.csoft.net/files/$pkgname-$pkgver.zip) 
10 md5sums=('0bc522c42b22287b0400592a6dd7ff71')
11  build() { 
12 cd $startdir/src/$pkgname-$pkgver
13  mkdir -p $startdir/pkg/usr/share/ww2d
14 mkdir -p $startdir/pkg/usr/bin
15 mv 'Earth' 'Global' 'WW2D.jar' $startdir/pkg/usr/share/ww2d/
16 echo "java -jar /usr/share/ww2d/WW2D.jar" > $startdir/pkg/usr/bin/ww2d
17 chmod +x $startdir/pkg/usr/bin/ww2d
18 chmod 755 $startdir/pkg/usr/share/ww2d/*
19  }