diff options
author | James Le Cuirot <chewi@gentoo.org> | 2018-10-17 12:39:31 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2018-10-18 11:54:14 +0100 |
commit | 450dc4b60d97e9bf13138efeb20ad44544f5b182 (patch) | |
tree | a08ad3e5317f22e7d59e6165b2418e3269fc58a5 /dev-java | |
parent | licenses: Add oracle-java-documentation-11 for Java 11 (diff) | |
download | gentoo-450dc4b60d97e9bf13138efeb20ad44544f5b182.tar.gz gentoo-450dc4b60d97e9bf13138efeb20ad44544f5b182.tar.bz2 gentoo-450dc4b60d97e9bf13138efeb20ad44544f5b182.zip |
dev-java/java-sdk-docs: Version bump to 11.0.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/java-sdk-docs/Manifest | 1 | ||||
-rw-r--r-- | dev-java/java-sdk-docs/java-sdk-docs-11.0.1.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-java/java-sdk-docs/Manifest b/dev-java/java-sdk-docs/Manifest index 82a2f7c3e126..6580a11d9eb2 100644 --- a/dev-java/java-sdk-docs/Manifest +++ b/dev-java/java-sdk-docs/Manifest @@ -1,3 +1,4 @@ DIST jdk-10.0.2_doc-all.zip 69312792 BLAKE2B ad2cad74e78098672ecc7d4f80f0babbded5ac564948c51ec5eb50b4e4e2688bec5bb6804d6829ea6137354ef8b1554b0ef6f8d0e62fe40b2e0bd80836691b6f SHA512 424ca11b661eaf4012d31cbe200ce5209098dd8fb21648eae5838ba2dd55d96aec5a263664d0b4ab21bc5f8cfe13cfbc61294cf92353dcbf8d8134613b25f67a +DIST jdk-11.0.1_doc-all.zip 51573427 BLAKE2B 8b08e383922367f19a570e3c112c30ce0306292daf95678cd699d5a15fa4003e6b231ea2ecb278f039cdf9525a82b4e95e3c9b7866a09beb4240945ec293d2bd SHA512 9cb0e5e1b95874de46d63d747685eeeabfb6de5b80e3018025341f265fdf3d54e769479cf2c5f0d62af934a4c9c647fb8fd89920a9ae4ff1ef612eeccb4f0e99 DIST jdk-8u192-docs-all.zip 93801790 BLAKE2B 32c8441a55f102f8f479fc02fe20f7ee6d65c707d56b99b70cda1a02b3061a9741bb551cd94b4f7e28d22199dec3df72bec2e978c80bcaa973402ac74805ffe5 SHA512 2a64e45596e01a80694b325ce5f7e0747436890373f45bd5a4cee5b54ae13580d7bc62a1981ade41101b4b9bab79231fbd603ed83ed1283f5b6104670bbd0f17 DIST jdk-9.0.4_doc-all.zip 70500089 BLAKE2B 549da2c6baf1b39082f05d42d0fd02f7682a765c1d43a605063b155b3b3e2e20053b4044a238afb41c758700efa5de9ec53c29e2e8be1d682c2e9e7b221c0875 SHA512 7d8b40499a0ea91ac922c6916b19a061b39e73e54e123a943fcaa75fcfe66672ad445dbd789c2c9448c8cee0e7f72974ca6ad53bcaa5667547feca5791dab92b diff --git a/dev-java/java-sdk-docs/java-sdk-docs-11.0.1.ebuild b/dev-java/java-sdk-docs/java-sdk-docs-11.0.1.ebuild new file mode 100644 index 000000000000..06d84404b0f4 --- /dev/null +++ b/dev-java/java-sdk-docs/java-sdk-docs-11.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DOWNLOAD_URL="https://www.oracle.com/technetwork/java/javase/documentation/jdk11-doc-downloads-5097203.html" + +SLOT="${PV%%.*}" +DESCRIPTION="Oracle's documentation bundle (including API) for Java SE" +HOMEPAGE="https://docs.oracle.com/javase/${SLOT}" +SRC_URI="jdk-${PV}_doc-all.zip" +LICENSE="oracle-java-documentation-${SLOT}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux" +RESTRICT="fetch" + +DEPEND="app-arch/unzip" + +S="${WORKDIR}/docs" + +pkg_nofetch() { + einfo "Please download ${SRC_URI} from" + einfo "${DOWNLOAD_URL}" + einfo "by agreeing to the license and place it in your distfiles directory." + einfo "" + einfo "If you find the file on the download page replaced with a higher" + einfo "version, please report it in bug #67266 (link below)." + einfo "" + einfo "If emerge fails because of a checksum error, it is possible that" + einfo "the upstream release changed without renaming. Try downloading the file" + einfo "again (or a newer revision if available). Otherwise report this to" + einfo "https://bugs.gentoo.org/67266 and we will make a new revision." +} + +src_install() { + insinto /usr/share/doc/${PN}-${SLOT}/html + doins -r index.html */ +} |