mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/java8-openjdk to 8.332.u03-1
This commit is contained in:
parent
199e144716
commit
4fb8a099f2
1 changed files with 9 additions and 9 deletions
|
@ -17,20 +17,20 @@ pkgbase=java8-openjdk
|
|||
|
||||
_majorver=8
|
||||
_minorver=332
|
||||
_updatever=02
|
||||
_updatever=03
|
||||
pkgver=${_majorver}.${_minorver}.u${_updatever}
|
||||
pkgrel=1
|
||||
_git_tag=jdk${_majorver}u${_minorver}-b${_updatever}
|
||||
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 !distcc)
|
||||
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
|
||||
8143245-pr3548.patch)
|
||||
sha256sums=('1acb39a0250a1f94eb8ccf2e4357c5681d8e5208e8e870c16042c87077db9902'
|
||||
sha256sums=('SKIP'
|
||||
'e1e9452b2078c3e9b45aa73491f3f187e7a9abbc40b6a7fc9239d4e5e525569e'
|
||||
'cebae4e056c738d54833c086e9379d2054ff80887c1f4e4ad14496c7ec65f665')
|
||||
|
||||
|
@ -42,7 +42,7 @@ esac
|
|||
|
||||
_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
|
||||
|
@ -50,7 +50,7 @@ _nonheadless=(bin/policytool
|
|||
lib/${_JARCH}/libsplashscreen.so)
|
||||
|
||||
prepare() {
|
||||
cd jdk8u-${_git_tag}
|
||||
cd jdk8u
|
||||
|
||||
# Fix build with C++17 (Fedora)
|
||||
patch -Np1 -i "${srcdir}"/gcc11.patch
|
||||
|
@ -60,7 +60,7 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
cd jdk8u-${_git_tag}
|
||||
cd jdk8u
|
||||
|
||||
unset JAVA_HOME
|
||||
# http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1346
|
||||
|
@ -72,7 +72,7 @@ build() {
|
|||
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}" \
|
||||
|
@ -110,7 +110,7 @@ build() {
|
|||
}
|
||||
|
||||
check() {
|
||||
cd jdk8u-${_git_tag}
|
||||
cd jdk8u
|
||||
#make -k test
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue