diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2019-01-17 20:30:20 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2019-01-17 20:34:33 +0100 |
commit | 6947643fecfd3b3f680baf0d6f3a8b2055c15ffc (patch) | |
tree | b299471569937098902f03e62679ca8c975a1dc7 /dev-java/java-sdk-docs | |
parent | www-apps/kibana-bin: drop old (diff) | |
download | gentoo-6947643fecfd3b3f680baf0d6f3a8b2055c15ffc.tar.gz gentoo-6947643fecfd3b3f680baf0d6f3a8b2055c15ffc.tar.bz2 gentoo-6947643fecfd3b3f680baf0d6f3a8b2055c15ffc.zip |
dev-java/java-sdk-docs-1.8.0.202: bump
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/java-sdk-docs')
-rw-r--r-- | dev-java/java-sdk-docs/Manifest | 1 | ||||
-rw-r--r-- | dev-java/java-sdk-docs/java-sdk-docs-1.8.0.202.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/java-sdk-docs/Manifest b/dev-java/java-sdk-docs/Manifest index 6580a11d9eb2..b17d754b251a 100644 --- a/dev-java/java-sdk-docs/Manifest +++ b/dev-java/java-sdk-docs/Manifest @@ -1,4 +1,5 @@ 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-8u202-docs-all.zip 93792495 BLAKE2B c1e3f6f5a713d55a62dc6ef0fd2bba5d30b094030e8438b73bd6bf9f27a7ec3bdb924d8251f99182eb62b470f177fdf84db23f57550bc9467a4a7c305190ad50 SHA512 ad8b51bbc705d46d47164918ce2d620cbadaf92a3fe56d72528f9cbc05da900309ecfef7ebf711e9474f292f744e2e33877cb7377e2e21a5a58e1922198be907 DIST jdk-9.0.4_doc-all.zip 70500089 BLAKE2B 549da2c6baf1b39082f05d42d0fd02f7682a765c1d43a605063b155b3b3e2e20053b4044a238afb41c758700efa5de9ec53c29e2e8be1d682c2e9e7b221c0875 SHA512 7d8b40499a0ea91ac922c6916b19a061b39e73e54e123a943fcaa75fcfe66672ad445dbd789c2c9448c8cee0e7f72974ca6ad53bcaa5667547feca5791dab92b diff --git a/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.202.ebuild b/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.202.ebuild new file mode 100644 index 000000000000..44df8cb4ecb7 --- /dev/null +++ b/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.202.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html" + +[[ "$(ver_cut 4)" == 0 ]] \ + || MY_PV_EXT="u$(ver_cut 4)" + +MY_PV="$(ver_cut 2)${MY_PV_EXT}" + +DESCRIPTION="Oracle's documentation bundle (including API) for Java SE" +HOMEPAGE="http://download.oracle.com/javase/8/docs/" +SRC_URI="jdk-${MY_PV}-docs-all.zip" +LICENSE="oracle-java-documentation-8" +SLOT="1.8" +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_prepare() { + default + + # Don't need both .Z and .bz2 archives. + find -name "*.Z" -delete || die +} + +src_install() { + insinto /usr/share/doc/${PN}-${SLOT}/html + doins -r index.html */ +} |