dev-java/openjdk-bin: Change versioning scheme to use patch version

I realised the next version would be something like 11.0.1+13, which
would be a downgrade. Sorry for the churn, folks. It was only up there
briefly.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
This commit is contained in:
James Le Cuirot
2018-10-19 13:17:21 +01:00
parent f3d808afcc
commit c54c70878e
@@ -7,12 +7,12 @@ inherit java-vm-2
abi_uri() {
echo "${2-$1}? (
https://github.com/AdoptOpenJDK/openjdk${SLOT}-binaries/releases/download/jdk-${MY_PV}/OpenJDK${SLOT}-jdk_${1}_linux_hotspot_${PV//./_}.tar.gz
https://github.com/AdoptOpenJDK/openjdk${SLOT}-binaries/releases/download/jdk-${MY_PV}/OpenJDK${SLOT}-jdk_${1}_linux_hotspot_${MY_PV//[.+]/_}.tar.gz
)"
}
SLOT=${PV%%.*}
MY_PV=${PV/./+}
MY_PV=${PV/_p/+}
SLOT=${MY_PV%%[.+]*}
SRC_URI="
$(abi_uri x64 amd64)