summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorskydrome2020-01-31 21:23:24 -0500
committerskydrome2020-01-31 21:23:24 -0500
commit2e5c78df0931407e3b003e2133e36c3d3f68235a (patch)
treee4728e94657897569fd287b02e61a660392d8586
parent69dd5079294b0b1ebd649efe38667cb89605fb54 (diff)
downloadaur-2e5c78df0931407e3b003e2133e36c3d3f68235a.tar.gz
add x64
-rw-r--r--PKGBUILD10
-rw-r--r--jdk.install5
2 files changed, 13 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 78a2087853b..df088261a34 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=zulu-embedded-jdk11
pkgver=11.0.6
pkgrel=1
pkgdesc='Zulu Embedded is a certified build of OpenJDK for Armv8/v7/v6 devices.'
-arch=('armv6h' 'armv7h' 'armv8h' 'i686')
+arch=('armv6h' 'armv7h' 'armv8h' 'i686' 'x86_64')
url='https://www.azul.com/products/zulu-embedded'
license=('custom')
install=jdk.install
@@ -29,6 +29,14 @@ case "$CARCH" in
sha256sums=('5a8b226d672bfcc27c5f44aa5fc20ce3ec4d8478f97448f89628297c882430b1')
source=("https://cdn.azul.com/zulu/bin/zulu${_build}-ca-jdk${pkgver}-linux_i686.tar.gz")
provides=("java-environment=13" "java-runtime=13")
+ ;;
+ x86_64) _arch='x64'
+ _build=13.29.9
+ pkgver=13.0.2
+ sha256sums=('ecb3f9626a9bc810daeb0f4e7d69474b7ae19fe0634658713e009ca6b1f1be98')
+ source=("https://cdn.azul.com/zulu/bin/zulu${_build}-ca-jdk${pkgver}-linux_x64.tar.gz")
+ provides=("java-environment=13" "java-runtime=13")
+ ;;
esac
_archive="zulu${_build}-ca-jdk${pkgver}-linux_${_arch}"
diff --git a/jdk.install b/jdk.install
index 23f16d7e137..e103462d45b 100644
--- a/jdk.install
+++ b/jdk.install
@@ -1,4 +1,7 @@
-THIS_JDK='zulu-embedded-11'
+case "$CARCH" in
+ armv?h|aarch64) THIS_JDK='zulu-embedded-11' ;;
+ i686|x86_64) THIS_JDK='zulu-embedded-13' ;;
+esac
fix_default() {
if [ ! -x /usr/bin/java ]; then