[arch-commits] Commit in java8-openjdk/trunk (PKGBUILD)
Frederik Schwan
freswa at gemini.archlinux.org
Thu Feb 24 21:55:43 UTC 2022
Date: Thursday, February 24, 2022 @ 21:55:43
Author: freswa
Revision: 438112
upgpkg: java8-openjdk 8.332.u03-1
switch to build from scm due to commit 054b85b1f65254b2d3d2a1d343e14d8eabd1af40 forcing either hg or git sources
Modified:
java8-openjdk/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-24 21:19:14 UTC (rev 438111)
+++ PKGBUILD 2022-02-24 21:55:43 UTC (rev 438112)
@@ -8,7 +8,7 @@
_majorver=8
_minorver=332
-_updatever=02
+_updatever=03
pkgver=${_majorver}.${_minorver}.u${_updatever}
pkgrel=1
_git_tag=jdk${_majorver}u${_minorver}-b${_updatever}
@@ -15,12 +15,12 @@
arch=('x86_64')
url='https://openjdk.java.net/'
license=('custom')
-makedepends=('java-environment=8' 'ccache' 'cpio' 'unzip' 'zip'
+makedepends=('java-environment=8' 'ccache' 'cpio' 'unzip' 'zip' 'git' 'bash'
'libxrender' 'libxtst' 'fontconfig' 'libcups' 'alsa-lib')
options=(!lto)
-source=(https://github.com/openjdk/jdk${_majorver}u/archive/${_git_tag}.tar.gz
+source=(git+https://github.com/openjdk/jdk${_majorver}u.git#tag=${_git_tag}
gcc11.patch)
-sha256sums=('1acb39a0250a1f94eb8ccf2e4357c5681d8e5208e8e870c16042c87077db9902'
+sha256sums=('SKIP'
'e1e9452b2078c3e9b45aa73491f3f187e7a9abbc40b6a7fc9239d4e5e525569e')
case "${CARCH}" in
@@ -30,7 +30,7 @@
_jdkname=openjdk8
_jvmdir=/usr/lib/jvm/java-8-openjdk
-_prefix="jdk8u-${_git_tag}/image"
+_prefix="jdk8u/image"
_imgdir="${_prefix}/jvm/openjdk-1.8.0_$(printf '%.2d' ${_minorver})"
_nonheadless=(bin/policytool
lib/${_JARCH}/libjsound.so
@@ -38,7 +38,7 @@
lib/${_JARCH}/libsplashscreen.so)
prepare() {
- cd jdk8u-${_git_tag}
+ cd jdk8u
# Fix build with C++17 (Fedora)
patch -Np1 -i "${srcdir}"/gcc11.patch
@@ -45,7 +45,7 @@
}
build() {
- cd jdk8u-${_git_tag}
+ cd jdk8u
unset JAVA_HOME
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1346
@@ -57,7 +57,7 @@
export CXXFLAGS="${CXXFLAGS} -fcommon -fno-exceptions"
install -d -m 755 "${srcdir}/${_prefix}/"
- sh configure \
+ bash configure \
--prefix="${srcdir}/${_prefix}" \
--with-update-version="${_minorver}" \
--with-build-number="b${_updatever}" \
@@ -94,7 +94,7 @@
}
check() {
- cd jdk8u-${_git_tag}
+ cd jdk8u
#make -k test
}
@@ -258,7 +258,7 @@
pkgdesc='OpenJDK Java 8 documentation'
install -d -m 755 "${pkgdir}/usr/share/doc/${pkgbase}/"
- cp -r "${srcdir}"/jdk8u-${_git_tag}/build/linux-${_DOC_ARCH}-normal-server-release/docs/* \
+ cp -r "${srcdir}"/jdk8u/build/linux-${_DOC_ARCH}-normal-server-release/docs/* \
"${pkgdir}/usr/share/doc/${pkgbase}/"
}
More information about the arch-commits
mailing list