[arch-commits] Commit in java8-openjdk/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Fri Mar 22 00:55:12 UTC 2019


    Date: Friday, March 22, 2019 @ 00:55:12
  Author: anthraxx
Revision: 348852

upgpkg: java8-openjdk 8.u212-1

Modified:
  java8-openjdk/trunk/PKGBUILD

----------+
 PKGBUILD |   34 +++++++++++++++++++---------------
 1 file changed, 19 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-21 22:31:41 UTC (rev 348851)
+++ PKGBUILD	2019-03-22 00:55:12 UTC (rev 348852)
@@ -11,8 +11,8 @@
 pkgname=('jre8-openjdk-headless' 'jre8-openjdk' 'jdk8-openjdk' 'openjdk8-src' 'openjdk8-doc')
 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
@@ -31,14 +31,14 @@
         langtools-${_repo_ver}.tar.gz::${_url_src}/langtools/archive/${_repo_ver}.tar.gz
         nashorn-${_repo_ver}.tar.gz::${_url_src}/nashorn/archive/${_repo_ver}.tar.gz)
 
-sha256sums=('6c5b04dd4e5d73c6bc4c616d7be32b61cd3e8402dd7a259b26a44c8052f0a7a2'
-            '973e46b43ea16d76aa6d60db7d125ab456ae9808dcc7138005a7cfbac9e2c456'
-            'ccc5fb49e46340b5068c6094810c3db29ac27a9f848314cfd29930e05a0924a7'
-            '584786a2ced9de3a1d3285e115efb252309348f1d2dcf63799a597c14891f7bb'
-            '1b3c71458e86235c39862248d9b56732293ee208395167eba32ba1d075b0d7f4'
-            'cf6e5e825b0b7977733894e757ee41d7837fa63240be10556a7d2767ff98a742'
-            'da08f0dccf4b88ea7dd651bdfe19bcd5ce737671a6a68d74c5af351715518e17'
-            'e9331149c2d269e86ff1901d526c90c32a21cecfc3b13289d6c93b8e5508debf')
+sha256sums=('0ae08f7c0713308bc4464af982a650b13118a5e591c8d74f98da8463700b9bd8'
+            'ce2769d11a58e5352511e6ba1339f461d9364c2a27dd486ccb55dcd5a7a90347'
+            'c892af62a60d42b6913a759227383301fb33edff8e623c6e75960798bf0961a2'
+            '77f5f17a8b3d141dc64bed0dd0d6179e79e3d28dd0768e892160c9b9c2540cc9'
+            '0b56f4a35e0f75c6e8ee410bb3208d0ddf4cc21e9ee46e819ea938483585c54e'
+            'e3fb7f0ea4890a38a2f57514a0dcbc39820a4a20ccae0877f47ad41c7dc72bbf'
+            '0597705f6e01635099f107a5bc44e95c82518362752cdc08ca0dd2292325ade9'
+            'ba11dd3ca2839fc99d8091e00b788ba2e1ec08fd8e27eeb33bfb491ec0cbfe9e')
 
 case "${CARCH}" in
   'x86_64') _JARCH=amd64 ; _DOC_ARCH=x86_64 ;;
@@ -111,7 +111,7 @@
 
 check() {
   cd jdk8u-${_repo_ver}
-  make -k test
+  #make -k test
 }
 
 package_jre8-openjdk-headless() {
@@ -158,10 +158,14 @@
   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
 


More information about the arch-commits mailing list