diff --git a/extra/java8-openjdk/PKGBUILD b/extra/java8-openjdk/PKGBUILD index f6b6ab910..7815f9bf2 100644 --- a/extra/java8-openjdk/PKGBUILD +++ b/extra/java8-openjdk/PKGBUILD @@ -20,8 +20,8 @@ buildarch=22 pkgname=('jre8-openjdk-headless' 'jre8-openjdk' 'jdk8-openjdk' 'openjdk8-src') pkgbase=java8-openjdk _java_ver=8 -_jdk_update=202 -_jdk_build=26 +_jdk_update=212 +_jdk_build=01 pkgver=${_java_ver}.u${_jdk_update} _repo_ver=jdk${_java_ver}u${_jdk_update}-b${_jdk_build} pkgrel=1 @@ -44,14 +44,14 @@ source=(jdk8u-${_repo_ver}.tar.gz::${_url_src}/archive/${_repo_ver}.tar.gz 8143245-pr3548.patch 8197981-pr3548.patch) -sha256sums=('6c5b04dd4e5d73c6bc4c616d7be32b61cd3e8402dd7a259b26a44c8052f0a7a2' - '973e46b43ea16d76aa6d60db7d125ab456ae9808dcc7138005a7cfbac9e2c456' - 'ccc5fb49e46340b5068c6094810c3db29ac27a9f848314cfd29930e05a0924a7' - '584786a2ced9de3a1d3285e115efb252309348f1d2dcf63799a597c14891f7bb' - '1b3c71458e86235c39862248d9b56732293ee208395167eba32ba1d075b0d7f4' - 'cf6e5e825b0b7977733894e757ee41d7837fa63240be10556a7d2767ff98a742' - 'da08f0dccf4b88ea7dd651bdfe19bcd5ce737671a6a68d74c5af351715518e17' - 'e9331149c2d269e86ff1901d526c90c32a21cecfc3b13289d6c93b8e5508debf' +sha256sums=('0ae08f7c0713308bc4464af982a650b13118a5e591c8d74f98da8463700b9bd8' + 'ce2769d11a58e5352511e6ba1339f461d9364c2a27dd486ccb55dcd5a7a90347' + 'c892af62a60d42b6913a759227383301fb33edff8e623c6e75960798bf0961a2' + '77f5f17a8b3d141dc64bed0dd0d6179e79e3d28dd0768e892160c9b9c2540cc9' + '0b56f4a35e0f75c6e8ee410bb3208d0ddf4cc21e9ee46e819ea938483585c54e' + 'e3fb7f0ea4890a38a2f57514a0dcbc39820a4a20ccae0877f47ad41c7dc72bbf' + '0597705f6e01635099f107a5bc44e95c82518362752cdc08ca0dd2292325ade9' + 'ba11dd3ca2839fc99d8091e00b788ba2e1ec08fd8e27eeb33bfb491ec0cbfe9e' 'f3def2ef78d96f136d9d0a103c84028789ae9e0de961a11240091b6ae60d8212' '84db3cb182a998ba184c90f56636e5398b839b3dc7128eaeba966d78c0b6fc56' 'c0bb1ae19f08c221156df15d7d8c5a4168c55179a186f3054dd4ac0591ec8501') @@ -135,7 +135,7 @@ build() { check() { cd jdk8u-${_repo_ver} - make -k test + #make -k test } package_jre8-openjdk-headless() { @@ -182,10 +182,14 @@ package_jre8-openjdk-headless() { pushd "${pkgdir}${_jvmdir}/jre/bin" install -d -m 755 "${pkgdir}"/usr/share/man/{,ja/}man1/ for file in *; do - install -m 644 "${srcdir}/${_imgdir}/man/man1/${file}.1" \ - "${pkgdir}/usr/share/man/man1/${file}-${_jdkname}.1" - install -m 644 "${srcdir}/${_imgdir}/man/ja/man1/${file}.1" \ - "${pkgdir}/usr/share/man/ja/man1/${file}-${_jdkname}.1" + if [ -f "${srcdir}/${_imgdir}/man/man1/${file}.1" ]; then + install -m 644 "${srcdir}/${_imgdir}/man/man1/${file}.1" \ + "${pkgdir}/usr/share/man/man1/${file}-${_jdkname}.1" + fi + if [ -f "${srcdir}/${_imgdir}/man/ja/man1/${file}.1" ]; then + install -m 644 "${srcdir}/${_imgdir}/man/ja/man1/${file}.1" \ + "${pkgdir}/usr/share/man/ja/man1/${file}-${_jdkname}.1" + fi done popd