extra/java10-openjdk to 10.0.2.u13-1

This commit is contained in:
Kevin Mihelich 2018-07-30 23:34:01 +00:00
parent f919344f8a
commit 307b0670f7

View file

@ -24,15 +24,15 @@ pkgbase=java10-openjdk
pkgname=('jre10-openjdk-headless' 'jre10-openjdk' 'jdk10-openjdk' 'openjdk10-src')
_majorver=10
_minorver=0
_securityver=1
_updatever=10
_securityver=2
_updatever=13
pkgrel=1
pkgver=${_majorver}.${_minorver}.${_securityver}.u${_updatever}
_hg_tag=jdk-${_majorver}.${_minorver}.${_securityver}+${_updatever}
arch=('x86_64')
url='http://openjdk.java.net/'
license=('custom')
makedepends=('jdk9-openjdk' 'cpio' 'unzip' 'zip' 'libelf' 'libcups' 'libx11'
makedepends=('jdk10-openjdk' 'cpio' 'unzip' 'zip' 'libelf' 'libcups' 'libx11'
'libxrender' 'libxtst' 'libxt' 'libxext' 'alsa-lib'
'graphviz' 'freetype2' 'libjpeg-turbo' 'giflib' 'libpng' 'lcms2'
'libnet' 'bash')
@ -41,7 +41,7 @@ source=(http://hg.openjdk.java.net/jdk-updates/jdk${_majorver}u/archive/${_hg_ta
freedesktop-jconsole.desktop
freedesktop-policytool.desktop
freedesktop-jshell.desktop)
sha256sums=('5ccebeaf3ed953468c2696364eb5bf41dd3cdb1f17e135f6f0c28d760bcde0b9'
sha256sums=('f34a53b049f2e3ee8d954998687c4a48b56f24efbb2738ae7fe81bbbdff7f078'
'819e6ca314641c3115566f9478fbd8671f5d884a3d4e65f05950b4bd2d3b8451'
'5276edf203e5a75607c55b8bd4ae4f76cf61360811190286829c66d0c4b06554'
'7f3bc3e424b6d8bac403eb336d81524680f347300c233400222a3850f937c659'
@ -139,6 +139,7 @@ package_jre10-openjdk-headless() {
depends=('java-runtime-common>=3' 'ca-certificates-utils' 'nss' 'libjpeg-turbo' 'lcms2' 'libnet' 'freetype2')
optdepends=('java-rhino: for some JavaScript support')
provides=("java-runtime-headless=${_majorver}" "java-runtime-headless-openjdk=${_majorver}")
replaces=('jre9-openjdk-headless')
backup=(etc/${pkgbase}/logging.properties
etc/${pkgbase}/management/jmxremote.access
etc/${pkgbase}/management/jmxremote.password.template
@ -198,6 +199,7 @@ package_jre10-openjdk() {
'gtk2: for the Gtk+ 2 look and feel - desktop usage'
'gtk3: for the Gtk+ 3 look and feel - desktop usage')
provides=("java-runtime=${_majorver}" "java-runtime-openjdk=${_majorver}")
replaces=('jre9-openjdk ')
install=install_jre10-openjdk.sh
cd ${_imgdir}/jre
@ -217,6 +219,7 @@ package_jdk10-openjdk() {
pkgdesc="OpenJDK Java ${_majorver} development kit"
depends=("jre${_majorver}-openjdk=${pkgver}-${pkgrel}" 'java-environment-common=3' 'hicolor-icon-theme' 'libelf')
provides=("java-environment=${_majorver}" "java-environment-openjdk=${_majorver}")
replaces=('jdk9-openjdk')
install=install_jdk10-openjdk.sh
cd ${_imgdir}/jdk
@ -273,6 +276,7 @@ package_openjdk10-src() {
pkgdesc="OpenJDK Java ${_majorver} sources"
# Depends on JDK to get license files
depends=("jdk${_majorver}-openjdk=${pkgver}-${pkgrel}")
replaces=('openjdk9-src')
install -Dm 644 -t "${pkgdir}${_jvmdir}/lib" ${_imgdir}/jdk/lib/src.zip