openjdk12-bootstrap: fix version, xlint

This commit is contained in:
classabbyamp 2022-04-04 12:50:25 -04:00 committed by Leah Neukirchen
parent bc11034463
commit 5067e239ec

View file

@ -1,15 +1,12 @@
# Template file for 'openjdk12-bootstrap'
_java_ver=12
_java_min_ver=0
_java_sec_ver=2
_jdk_update=10
_jdk_home="usr/lib/jvm/openjdk${_java_ver}"
_base_version="${_java_ver}.${_java_min_ver}.${_java_sec_ver}"
pkgname=openjdk12-bootstrap
version="${_base_version}+${_jdk_update}"
version=12.0.2+10
revision=1
wrksrc="jdk${_java_ver}u-jdk-${version}"
_java_ver="${version%%.*}"
_jdk_update="${version#*+}"
_base_version="${version%+*}"
_jdk_home="usr/lib/jvm/openjdk${_java_ver}"
wrksrc="jdk${_java_ver}u-jdk-${version/+/-}"
build_style=gnu-configure
configure_args="--disable-warnings-as-errors
--prefix=${XBPS_DESTDIR}/${pkgname}-${version}/usr/lib
@ -37,13 +34,13 @@ hostmakedepends="pkg-config automake autoconf cpio tar unzip zip ca-certificates
makedepends="libXrender-devel libXtst-devel libXt-devel libXrandr-devel
giflib-devel libjpeg-turbo-devel cups-devel freetype-devel alsa-lib-devel
fontconfig-devel zlib-devel lcms2-devel"
provides="java-environment-${version}_1 java-runtime-${version}_1"
short_desc="OpenJDK Java Development Kit (bootstrap version 12)"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-2.0-only WITH Classpath-exception-2.0"
homepage="https://openjdk.java.net"
distfiles="https://hg.openjdk.java.net/jdk-updates/jdk${_java_ver}u/archive/jdk-${version}.tar.gz"
checksum=b2bcad35656b00928683416f3480ad00363b00993eb711c3e1886e4fe77eefeb
provides="java-environment-${version}_1 java-runtime-${version}_1"
lib32disabled=yes
nocross=yes