summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose17112016-01-28 12:46:05 +0100
committerjose17112016-01-28 12:46:05 +0100
commit72a33071f8fbe268360c9aa31c28abc521fbf1fe (patch)
tree7d31ee6f9030169553c743907b840e9ff2a42b5b
parent6fff0ea4203454e0c0620519d623b4499aa7cab6 (diff)
downloadaur-72a33071f8fbe268360c9aa31c28abc521fbf1fe.tar.gz
fixed java path detection
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8192b902afc..027ac04420d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Thu Jan 28 11:45:16 UTC 2016
pkgbase = java3d
pkgdesc = High-level constructs to create and manipulate 3D geometry
pkgver = 1.5.2
- pkgrel = 8
+ pkgrel = 9
url = https://java3d.java.net/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 2c941874148..7205d25514e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
+# Maintainer: Jose Riha <jose1711 gmail com>
# Contributor: Jonathan Wiersma <archaur at jonw dot org>
pkgname=java3d
pkgver=1.5.2
-pkgrel=8
+pkgrel=9
pkgdesc="High-level constructs to create and manipulate 3D geometry"
arch=('i686' 'x86_64')
url="https://java3d.java.net/"
@@ -22,10 +23,7 @@ source=(http://download.java.net/media/$pkgname/builds/release/$pkgver/$_pkgname
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
+ local dest=$(readlink -f /usr/lib/jvm/default/jre)
install -d -m755 $pkgdir/$dest
cd $pkgdir/$dest
unzip $srcdir/$_pkgname-${pkgver//./_}-linux-$_arch/$_pkgname-jre.zip