1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
3 # Contributor: Simon Lipp <sloonz+aur@gmail.com>
7 pkgdesc="OpenGL bindings for Java"
9 url="http://jogl.dev.java.net/"
11 depends=('java-runtime' 'libgl')
12 if [ "$CARCH" = "i686" ]; then
13 source=('http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/jogl-1.1.1-linux-i586.zip')
14 md5sums=('74d131fc1c1130d09109887679dbf044')
16 source=('http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/jogl-1.1.1-linux-amd64.zip')
17 md5sums=('efe0beb352cfb31f3a32d8d7f56fcce3')
23 install -d "$pkgdir/usr/share/java/jogl/"
24 install -d "$pkgdir/usr/share/licenses/$pkgname"
25 install -d "$pkgdir/usr/lib"
26 install -Dm644 jogl-*/lib/jogl.jar "$pkgdir/usr/share/java/jogl/"
27 install -Dm644 jogl-*/lib/gluegen-rt.jar "$pkgdir/usr/share/java/jogl/"
28 install -Dm644 jogl-*/LICENSE-JOGL-*.txt "$pkgdir/usr/share/licenses/$pkgname"
29 install -Dm644 jogl-*/lib/libgluegen-rt.so "$pkgdir/usr/lib/"
30 install -Dm644 jogl-*/lib/libjogl.so "$pkgdir/usr/lib/"
31 install -Dm644 jogl-*/lib/libjogl_awt.so "$pkgdir/usr/lib/"
34 # vim:set ts=2 sw=2 et: