summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel YC Lin2015-06-13 10:48:22 +0800
committerDaniel YC Lin2015-06-13 10:48:22 +0800
commit6fff0ea4203454e0c0620519d623b4499aa7cab6 (patch)
treec377f924f4f813b0bd8031bc54fc07755163f8b8
downloadaur-6fff0ea4203454e0c0620519d623b4499aa7cab6.tar.gz
merge to aur4
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD32
3 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8192b902afc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = java3d
+ pkgdesc = High-level constructs to create and manipulate 3D geometry
+ pkgver = 1.5.2
+ pkgrel = 8
+ url = https://java3d.java.net/
+ arch = i686
+ arch = x86_64
+ license = custom:"JRL"
+ makedepends = unzip
+ depends = java-runtime
+ depends = libgl
+ source = http://download.java.net/media/java3d/builds/release/1.5.2/j3d-1_5_2-linux-amd64.zip
+ md5sums = 541d5038c54bbec2f1d311dfc5f68890
+
+pkgname = java3d
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..3ec80aa720d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+## Ignore everything
+*.zip
+*.xz
+*.gz
+src/*
+pkg/*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2c941874148
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Contributor: Jonathan Wiersma <archaur at jonw dot org>
+
+pkgname=java3d
+pkgver=1.5.2
+pkgrel=8
+pkgdesc="High-level constructs to create and manipulate 3D geometry"
+arch=('i686' 'x86_64')
+url="https://java3d.java.net/"
+license=('custom:"JRL"')
+depends=('java-runtime' 'libgl')
+makedepends=('unzip')
+_pkgname=j3d
+if [ "$CARCH" = "i686" ] ; then
+ _arch=i586
+ md5sums=('0501179d850e6d05d30f2a3df861c2a5')
+else
+ _arch=amd64
+ md5sums=('541d5038c54bbec2f1d311dfc5f68890')
+fi
+source=(http://download.java.net/media/$pkgname/builds/release/$pkgver/$_pkgname-${pkgver//./_}-linux-$_arch.zip)
+
+package() {
+ cd $srcdir/$_pkgname-${pkgver//./_}-linux-$_arch
+ install -D -m644 LICENSE-Java3D-v${pkgver//./_}.txt $pkgdir/usr/share/licenses/$_pkgname/LICENSE
+ local dest=$JAVA_HOME
+ if [ "$dest" != "/usr/lib/jvm/java-7-openjdk/jre" ] ; then
+ dest="$dest/jre"
+ fi
+ install -d -m755 $pkgdir/$dest
+ cd $pkgdir/$dest
+ unzip $srcdir/$_pkgname-${pkgver//./_}-linux-$_arch/$_pkgname-jre.zip
+}