diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 18 insertions, 19 deletions
@@ -4,50 +4,49 @@ # Contributor: Simon Lipp <sloonz+aur@gmail.com> pkgname=jogl -pkgver=2.3.1 -pkgrel=2 +pkgver=2.3.2 +pkgrel=1 pkgdesc='OpenGL bindings for Java' arch=('x86_64' 'i686') url="http://jogamp.org/" license=('BSD') depends=('java-runtime' 'libgl') -source=("jogl.license.txt" - "gluegen.license.txt" +source=("jogl.LICENSE.txt" + "gluegen.LICENSE.txt" "http://jogamp.org/deployment/v${pkgver}/jar/orig/jogl-all.jar" "http://jogamp.org/deployment/v${pkgver}/jar/orig/gluegen-rt.jar") md5sums=('e77015f08f0c8c3b39b9b7d379d57183' - '88456d8059e998bff8868c2b4d0347ce' - '888f852769e4a2deb908d0c3785d7a78' - '3a87d58820bafc2f164c33d8f4d609ad') + '3809542dae46666cb50b9cb7c6d5ac5f' + 'ce831cf96129a663433861a7eda55595' + '14e746f9328bc33a9b01cf9e16427f4d') +md5sums_x86_64=('0ff2870c4f8da227b05e79b352133c3e' + '5ea60ff86650e3fc3ed77a417ef2fb95') +md5sums_i686=('79b946d0e6fff33a82a2e0d90133796a' + 'd67501bb4c973ca06140c34e8fb97461') source_i686=("http://jogamp.org/deployment/v${pkgver}/jar/orig/jogl-all-natives-linux-i586.jar" "http://jogamp.org/deployment/v${pkgver}/jar/orig/gluegen-rt-natives-linux-i586.jar") -md5sums_i686=('1a43558d33b08d7195a19813f42c8610' - '78dbf2cc29f7c03d58309d73eb4b6851') source_x86_64=("http://jogamp.org/deployment/v${pkgver}/jar/orig/jogl-all-natives-linux-amd64.jar" "http://jogamp.org/deployment/v${pkgver}/jar/orig/gluegen-rt-natives-linux-amd64.jar") -md5sums_x86_64=('aba089cd88733cd45a1c16ea672835f7' - 'fcdc21b6d65c08ef79351cbc8aaefdb9') noextract=({jogl-all,gluegen-rt}.jar) package() { + # *.so files + install -Ddm755 "${pkgdir}/usr/lib/${pkgname}" + find "${srcdir}/natives" -type f -print0 | xargs -0 mv -t "${pkgdir}/usr/lib/${pkgname}" + cd "${srcdir}" install -Dm644 "jogl-all.jar" "${pkgdir}/usr/share/java/${pkgname}/jogl-all.jar" install -Dm644 "gluegen-rt.jar" "${pkgdir}/usr/share/java/${pkgname}/gluegen-rt.jar" - install -Dm644 "libgluegen-rt.so" "${pkgdir}/usr/lib/${pkgname}/libgluegen-rt.so" - install -Dm644 "libjogl_desktop.so" "${pkgdir}/usr/lib/${pkgname}/libjogl_desktop.so" - install -Dm644 "libjogl_mobile.so" "${pkgdir}/usr/lib/${pkgname}/libjogl_mobile.so" - install -Dm644 "libnativewindow_awt.so" "${pkgdir}/usr/lib/${pkgname}/libnativewindow_awt.so" - install -Dm644 "libnativewindow_x11.so" "${pkgdir}/usr/lib/${pkgname}/libnativewindow_x11.so" - install -Dm644 "libnewt.so" "${pkgdir}/usr/lib/${pkgname}/libnewt.so" - install -Dm644 "jogl.license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/jogl.license.txt" - install -Dm644 "gluegen.license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/gluegen.license.txt" + install -Dm644 "jogl.LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/jogl.LICENSE.txt" + install -Dm644 "gluegen.LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/gluegen.LICENSE.txt" cd "${pkgdir}/usr/share/java/${pkgname}" ln -s "jogl-all.jar" "jogl2.jar" ln -s "gluegen-rt.jar" "gluegen2-rt.jar" + cd "${pkgdir}/usr/lib" ln -s "jogl" "jogl2" ln -s "jogl" "gluegen2" |