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

Guillaume Alaux guillaume at archlinux.org
Fri Sep 22 20:55:53 UTC 2017


    Date: Friday, September 22, 2017 @ 20:55:52
  Author: guillaume
Revision: 306125

General availability 9.u181

Modified:
  java9-openjdk/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 20:51:10 UTC (rev 306124)
+++ PKGBUILD	2017-09-22 20:55:52 UTC (rev 306125)
@@ -1,11 +1,5 @@
 # Maintainer: Guillaume ALAUX <guillaume at archlinux.org>
 
-# TODO for production:
-#      - remove pre="ea" from ./configure
-#      - fix pkgver from 9.178 to 9.u01
-#        - don't forget to add the "u"
-#        - don't forget to use an update version instead of tag
-
 # TODO add test, see about packaging jtreg and using it here
 # TODO see about building with OpenJDK9
 # TODO add javazi
@@ -21,11 +15,10 @@
 
 pkgname=('jre9-openjdk-headless' 'jre9-openjdk' 'jdk9-openjdk' 'openjdk9-src' 'openjdk9-doc')
 _majorver=9
-_buildver=181
+_updatever=181
 pkgbase=java$_majorver-openjdk
-# FIXME while Early Access, use $_majorver.$_buildver, and when production, use $_majorver.u$_updatever (watchout for the "u")
-pkgver=$_majorver.$_buildver
-_hg_tag="jdk-$_majorver+$_buildver"
+pkgver=$_majorver.u$_updatever
+_hg_tag="jdk-$_majorver+$_updatever"
 _repo_ver=jdk$_java_ver.$_hg_tag
 pkgrel=1
 _pkg_full_ver=$pkgver-$pkgrel
@@ -118,10 +111,9 @@
   unset CXXFLAGS
   unset LDFLAGS
 
-  # FIXME remove pre (ie "ea") identifier once going to production
   bash configure \
-    --with-version-build="$_buildver" \
-    --with-version-pre="ea" \
+    --with-version-build="$_updatever" \
+    --with-version-pre="" \
     --with-version-opt="" \
     --with-stdc++lib=dynamic \
     --with-extra-cflags="$_CFLAGS" \



More information about the arch-commits mailing list