1 # Maintainer: Garrett <floft.net/contact>
5 pkgdesc="Open 3D earth viewer with GPS support"
6 url="http://sourceforge.net/projects/nasa-exp/"
10 optdepends=('libtxc_dxtn: radeon and nouveau support')
12 source=(license.txt http://downloads.sourceforge.net/project/nasa-exp/World%20Wind%20Java/$pkgver/worldwind-release.$pkgver.zip)
13 md5sums=('bf7da6334b8860f18e5496085388f46f' '6efb29a4720c98503bcabb18810f7d2b')
19 cd '/usr/share/worldwind/';
20 java -Xmx512m -Dsun.java2d.noddraw=true -classpath ./src:./classes:./worldwind.jar:./jogl.jar:./gluegen-rt.jar gov.nasa.worldwind.examples.ApplicationTemplate
22 mkdir -p "$pkgdir/usr/share/worldwind/"
23 cp -r * "$pkgdir/usr/share/worldwind"
25 mkdir -p "$pkgdir/usr/bin/"
26 install -Dm755 worldwind "$pkgdir/usr/bin/"
28 install -Dm644 "$srcdir/license.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"