1 # Contributor: Jonathan Wiersma <archaur at jonw dot org>
6 pkgdesc="High-level constructs to create and manipulate 3D geometry"
8 url="https://java3d.dev.java.net/"
9 license=('custom:"JRL"')
10 depends=('java-runtime' 'libgl')
13 if [ "$CARCH" = "i686" ] ; then
15 md5sums=('0501179d850e6d05d30f2a3df861c2a5')
18 md5sums=('541d5038c54bbec2f1d311dfc5f68890')
20 source=(http://download.java.net/media/$pkgname/builds/release/$pkgver/$_pkgname-${pkgver//./_}-linux-$_arch.zip)
23 cd $srcdir/$_pkgname-${pkgver//./_}-linux-$_arch
24 install -D -m644 LICENSE-Java3D-v${pkgver//./_}.txt $pkgdir/usr/share/licenses/$_pkgname/LICENSE
26 install -d -m755 $pkgdir/$JAVA_HOME/jre
27 cd $pkgdir/$JAVA_HOME/jre
28 unzip $srcdir/$_pkgname-${pkgver//./_}-linux-$_arch/$_pkgname-jre.zip