diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-01-07 10:15:46 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-01-07 10:16:27 +0100 |
commit | 1b68f3bbd287c79416a448bed6c58f60346392b0 (patch) | |
tree | cdb4023cf27954d2188728c0518ff4c055c35b2e /dev-java/gradle-bin | |
parent | dev-java/gradle-bin: drop 8.2.1, 8.3 (diff) | |
download | gentoo-1b68f3bbd287c79416a448bed6c58f60346392b0.tar.gz gentoo-1b68f3bbd287c79416a448bed6c58f60346392b0.tar.bz2 gentoo-1b68f3bbd287c79416a448bed6c58f60346392b0.zip |
dev-java/gradle-bin: add 8.5
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/gradle-bin')
-rw-r--r-- | dev-java/gradle-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-java/gradle-bin/gradle-bin-8.5.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index 0b909c82793e..846f9187a6c0 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -1 +1,2 @@ DIST gradle-bin-8.4.zip 212870963 BLAKE2B da32c1010e85f6cded0c1b539b243db6d41fcd033266be3b03b389e6a2e317bea17ddbe65c597c7ea82628cc5bec913954ec998d018b68daa67d39f9a8958e7e SHA512 52d5f622b8ad0ab36ff84589733b47423b12f94211086a84eca9810690af29e396877f1155ee31279c4325e98cd1d55b32137d52efcf48eb1e258caeece08f22 +DIST gradle-bin-8.5.zip 218636663 BLAKE2B 0360f240f6183abec540f7755a966767a8dc175ca0ea047273e05c4b2219fd80cb92e62e9b961481d646157418cc91ea211eb83530cc6ec815ea790f6ad8380a SHA512 37a1c2989c46dad0f843565d05fd29010df10ac199d81f0ccddf56ffd490642039046d43a320ba04d1f87cbbc6d4cebf20ff66ce45ec005931cfc85aee2e0180 diff --git a/dev-java/gradle-bin/gradle-bin-8.5.ebuild b/dev-java/gradle-bin/gradle-bin-8.5.ebuild new file mode 100644 index 000000000000..61b08c49be55 --- /dev/null +++ b/dev-java/gradle-bin/gradle-bin-8.5.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +IUSE="doc" +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 + +MY_PN=${PN%%-bin} +MY_P="${MY_PN}-${PV/_rc/-rc-}" + +DESCRIPTION="A project automation and build tool with a Groovy based DSL" +SRC_URI="https://services.gradle.org/distributions/${MY_P}-all.zip -> ${P}.zip" +HOMEPAGE="https://www.gradle.org/" + +LICENSE="Apache-2.0" +SLOT="${PV}" +KEYWORDS="~amd64 ~x86" + +DEPEND="app-eselect/eselect-gradle" +BDEPEND="app-arch/unzip" +RDEPEND=" + ${DEPEND} + >=virtual/jre-1.8:* +" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + : +} + +src_install() { + local gradle_dir="/usr/share/${PN}-${SLOT}" + + if use source; then + java-pkg_dosrc src + fi + + docinto html + dodoc -r docs/release-notes.html + if use doc; then + dodoc -r docs/{dsl,userguide} + java-pkg_dojavadoc docs/javadoc + fi + + insinto "${gradle_dir}" + doins -r bin/ lib/ + fperms 755 "${gradle_dir}/bin/gradle" + dosym "${gradle_dir}/bin/gradle" "/usr/bin/${PN}-${SLOT}" +} + +pkg_postinst() { + eselect gradle update ifunset +} + +pkg_postrm() { + eselect gradle update ifunset +} |