SHARE
TWEET

Untitled

a guest Feb 25th, 2011 153 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Contributor: Jonathan Wiersma <archaur at jonw dot org>
  2. # Contributor: Syco, alias Alberto Rinaudo <sycolth at gmail dot com>
  3.  
  4. pkgname=java3d
  5. _pkgname=j3d
  6. pkgver=1.5.2
  7. _pkgver=1_5_2
  8. pkgrel=3
  9. pkgdesc="High-level constructs to create and manipulate 3D geometry"
  10. arch=('i686' 'x86_64')
  11. url="https://java3d.dev.java.net/"
  12. license=('custom:"JRL"')
  13. depends=('java-runtime' 'libgl')
  14. makedepends=('unzip')
  15. md5sums=('541d5038c54bbec2f1d311dfc5f68890')
  16. [ "$CARCH" = "i686" ] && md5sums=('0501179d850e6d05d30f2a3df861c2a5')
  17.  
  18. _arch=amd64
  19. [ "$CARCH" = "i686" ] && _arch="i586"
  20.  
  21. source=(http://download.java.net/media/java3d/builds/release/${pkgver}/${_pkgname}-${_pkgver}-linux-${_arch}.zip)
  22.  
  23. build() {
  24.     install -D -m644 ${srcdir}/${_pkgname}-${_pkgver}-linux-${_arch}/LICENSE-Java3D-v${_pkgver}.txt ${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE
  25.  
  26.     mkdir -p ${pkgdir}${JAVA_HOME}/jre
  27.     cd ${pkgdir}${JAVA_HOME}/jre
  28.     unzip ${srcdir}/${_pkgname}-${_pkgver}-linux-${_arch}/${_pkgname}-jre.zip
  29. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top