updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / java3d / PKGBUILD
blob14a4ee4e8db78ee9128610eb3c4a1569fa8bf3fc
1 # Contributor: Jonathan Wiersma <archaur at jonw dot org>
3 pkgname=java3d
4 pkgver=1.5.2
5 pkgrel=4
6 pkgdesc="High-level constructs to create and manipulate 3D geometry"
7 arch=('i686' 'x86_64')
8 url="https://java3d.dev.java.net/"
9 license=('custom:"JRL"')
10 depends=('java-runtime' 'libgl')
11 makedepends=('unzip')
12 _pkgname=j3d
13 if [ "$CARCH" = "i686" ] ; then
14         _arch=i586
15     md5sums=('0501179d850e6d05d30f2a3df861c2a5')
16 else
17         _arch=amd64
18     md5sums=('541d5038c54bbec2f1d311dfc5f68890')
20 source=(http://download.java.net/media/$pkgname/builds/release/$pkgver/$_pkgname-${pkgver//./_}-linux-$_arch.zip)
22 package() {
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