updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / jogl / PKGBUILD
blobb593f6eb88cc93966634fd2c6851529d02970c64
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>
4 pkgname=jogl
5 pkgver=1.1.1
6 pkgrel=7
7 pkgdesc="OpenGL bindings for Java"
8 arch=('x86_64' 'i686')
9 url="http://jogl.dev.java.net/"
10 license=('BSD')
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')
15 else
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')
20 package() {
21   cd "$srcdir"
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: