summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2019-03-26 20:34:14 +0000
committerDaniel Bermond2019-03-26 20:34:14 +0000
commitf684ed1a495e0741971f834c8ee84e3d78a40f52 (patch)
tree3d33d3221703bd2e506d0c40826ff158fb961455
parent92e324f85872f29eb5b7232f25015b20463b5a25 (diff)
downloadaur-f684ed1a495e0741971f834c8ee84e3d78a40f52.tar.gz
Updated to version 12
-rw-r--r--.SRCINFO42
-rw-r--r--PKGBUILD16
-rw-r--r--jre.install2
3 files changed, 34 insertions, 26 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a44c7d5f0e..76f2887548b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = jre
pkgdesc = Oracle Java Runtime Environment
- pkgver = 11.0.2
+ pkgver = 12
pkgrel = 1
url = https://www.oracle.com/java/
install = jre.install
@@ -13,26 +13,26 @@ pkgbase = jre
depends = libxrender
depends = libnet
optdepends = alsa-lib: for basic sound support
- provides = java-runtime=11
- provides = java-runtime-headless=11
- provides = java-runtime-jre=11
- provides = java-runtime-headless-jre=11
- backup = etc/java11-jre/management/jmxremote.access
- backup = etc/java11-jre/management/jmxremote.password.template
- backup = etc/java11-jre/management/management.properties
- backup = etc/java11-jre/security/policy/limited/default_US_export.policy
- backup = etc/java11-jre/security/policy/limited/default_local.policy
- backup = etc/java11-jre/security/policy/limited/exempt_local.policy
- backup = etc/java11-jre/security/policy/unlimited/default_US_export.policy
- backup = etc/java11-jre/security/policy/unlimited/default_local.policy
- backup = etc/java11-jre/security/policy/README.txt
- backup = etc/java11-jre/security/java.policy
- backup = etc/java11-jre/security/java.security
- backup = etc/java11-jre/logging.properties
- backup = etc/java11-jre/net.properties
- backup = etc/java11-jre/sound.properties
- source = https://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.tar.gz
- sha256sums = 7b4fd8ffcf53e9ff699d964a80e4abf9706b5bdb5644a765c2b96f99e3a2cdc8
+ provides = java-runtime=12
+ provides = java-runtime-headless=12
+ provides = java-runtime-jre=12
+ provides = java-runtime-headless-jre=12
+ backup = etc/java12-jre/management/jmxremote.access
+ backup = etc/java12-jre/management/jmxremote.password.template
+ backup = etc/java12-jre/management/management.properties
+ backup = etc/java12-jre/security/policy/limited/default_US_export.policy
+ backup = etc/java12-jre/security/policy/limited/default_local.policy
+ backup = etc/java12-jre/security/policy/limited/exempt_local.policy
+ backup = etc/java12-jre/security/policy/unlimited/default_US_export.policy
+ backup = etc/java12-jre/security/policy/unlimited/default_local.policy
+ backup = etc/java12-jre/security/policy/README.txt
+ backup = etc/java12-jre/security/java.policy
+ backup = etc/java12-jre/security/java.security
+ backup = etc/java12-jre/logging.properties
+ backup = etc/java12-jre/net.properties
+ backup = etc/java12-jre/sound.properties
+ source = https://download.oracle.com/otn-pub/java/jdk/12+33/312335d836a34c7c8bba9d963e26dc23/jdk-12_linux-x64_bin.tar.gz
+ sha256sums = 183d4d897bbf47bdae43b2bb4fc0465a9178209b5250555ac7fdb8fab6cc43a6
pkgname = jre
diff --git a/PKGBUILD b/PKGBUILD
index fbafcf82bed..619c8f797de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,9 +2,9 @@
# Contributor: Det <nimetonmaili g-mail>
pkgname=jre
-pkgver=11.0.2
-_build=9
-_hash=f51449fcd52f4d52b93a989c5c56ed3c
+pkgver=12
+_build=33
+_hash=312335d836a34c7c8bba9d963e26dc23
_majver="${pkgver%%.*}"
pkgrel=1
pkgdesc='Oracle Java Runtime Environment'
@@ -32,7 +32,7 @@ backup=("etc/java${_majver}-${pkgname}/management/jmxremote.access"
"etc/java${_majver}-${pkgname}/sound.properties")
install="${pkgname}.install"
source=("https://download.oracle.com/otn-pub/java/jdk/${pkgver}+${_build}/${_hash}/jdk-${pkgver}_linux-x64_bin.tar.gz")
-sha256sums=('7b4fd8ffcf53e9ff699d964a80e4abf9706b5bdb5644a765c2b96f99e3a2cdc8')
+sha256sums=('183d4d897bbf47bdae43b2bb4fc0465a9178209b5250555ac7fdb8fab6cc43a6')
DLAGENTS=('https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -b oraclelicense=a -o %o %u')
@@ -58,6 +58,14 @@ package() {
rm -r "${pkgdir}/${_jvmdir}/lib/jfr"
rm "${pkgdir}/${_jvmdir}/lib/"{ct.sym,libattach.so,libsaproc.so,src.zip}
+ # man pages
+ local _file
+ #for _file in java jjs jrunscript keytool pack200 rmid rmiregistry unpack200
+ for _file in man/man1/{java,jjs,jrunscript,keytool,pack200,rmid,rmiregistry,unpack200}.1
+ do
+ install -D -m644 "$_file" "${pkgdir}/usr/share/${_file%.1}-jdk${_majver}.1"
+ done
+
install -D -m644 release -t "${pkgdir}/${_jvmdir}"
# replace JKS keystore with ca-certificates-utils
diff --git a/jre.install b/jre.install
index 512d7a1df4f..4e577ce9fda 100644
--- a/jre.install
+++ b/jre.install
@@ -1,4 +1,4 @@
-THIS_JRE='java-11-jdk'
+THIS_JRE='java-12-jdk'
fix_default() {
if [ ! -x /usr/bin/java ]; then