diff options
Diffstat (limited to 'community/jogl')
-rw-r--r-- | community/jogl/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/jogl/PKGBUILD b/community/jogl/PKGBUILD new file mode 100644 index 000000000..fbbb8172d --- /dev/null +++ b/community/jogl/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> +# Contributor: Simon Lipp <sloonz+aur@gmail.com> + +pkgname=jogl +pkgver=1.1.1 +pkgrel=6 +pkgdesc="OpenGL bindings for java" +arch=('i686' 'x86_64') +url="http://jogl.dev.java.net/" +license=('custom') +depends=('java-runtime' 'libgl') + +if [ "$CARCH" = "i686" ]; then + source=('http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/jogl-1.1.1-linux-i586.zip') + md5sums=('74d131fc1c1130d09109887679dbf044') +else + source=('http://download.java.net/media/jogl/builds/archive/jsr-231-1.1.1/jogl-1.1.1-linux-amd64.zip') + md5sums=('efe0beb352cfb31f3a32d8d7f56fcce3') +fi + +build() { + install -d $pkgdir/usr/share/java/jogl/ || return 1 + install -d $pkgdir/usr/share/licenses/$pkgname || return 1 + install -d $pkgdir/usr/lib || return 1 + install --mode=644 $srcdir/jogl-*/lib/jogl.jar \ + $pkgdir/usr/share/java/jogl/ || return 1 + install --mode=644 $srcdir/jogl-*/lib/gluegen-rt.jar \ + $pkgdir/usr/share/java/jogl/ || return 1 + install --mode=644 $srcdir/jogl-*/LICENSE-JOGL-*.txt \ + $pkgdir/usr/share/licenses/$pkgname || return 1 + install --mode=644 $srcdir/jogl-*/lib/libgluegen-rt.so \ + $pkgdir/usr/lib/ || return 1 + install --mode=644 $srcdir/jogl-*/lib/libjogl.so \ + $pkgdir/usr/lib/ || return 1 + install --mode=644 $srcdir/jogl-*/lib/libjogl_awt.so \ + $pkgdir/usr/lib/ || return 1 +} |