diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-02-14 12:45:14 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-02-14 12:46:56 +0100 |
commit | ff9818974dabb2a78cba5dac93f16deb3a866f1d (patch) | |
tree | a44053d4f4cd18a72d0c398ed33955206b06296d /dev-java | |
parent | profiles: Drop KDE Plasma 5.26.90 (5.27 Beta) package.mask (diff) | |
download | gentoo-ff9818974dabb2a78cba5dac93f16deb3a866f1d.tar.gz gentoo-ff9818974dabb2a78cba5dac93f16deb3a866f1d.tar.bz2 gentoo-ff9818974dabb2a78cba5dac93f16deb3a866f1d.zip |
dev-java/gradle-bin: add 8.0
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/gradle-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-java/gradle-bin/gradle-bin-8.0.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index ebe757ca74b8..2637474a775e 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -5,3 +5,4 @@ DIST gradle-bin-7.3.3.zip 158875257 BLAKE2B 94f86e06da3eae4a9522d35a28577d033d64 DIST gradle-bin-7.4.2.zip 159315974 BLAKE2B c7c8dbe82d22dec699d1997a781f3a66110c9910dfe67df2304c48cead96c130ca072550b8c5fa2362744cd2ea3c9723c45a6ecf6e0737fe3c9b7e286b44f4ae SHA512 2e1d05486baa9661d5c8ffead2df87874a66f6cfc958ee6840432b89d221d8b0af9e3cad3675766f5413d12aa61c5b5fb0dd82f4164e5da3022865eba9ceadbf DIST gradle-bin-7.5.1.zip 166101707 BLAKE2B e018f8ae0e4cbe1fff2e3fb3029ef4c3f35e1bf541ce75f22561e16c43d8501c2f2501db72081656a836ab1c3358020dbf0be3499e7c16b385d9940c852c62ae SHA512 89189d529df1258a01ad2e6c38b1374dfb3a1440706c1c7f27ace89b6fd5b6849f9809f209e3e410f226aeeb9348d144de70397ac94b4e59fd311a2b0dee0dc9 DIST gradle-bin-7.6.zip 165398808 BLAKE2B e9ffb8157184a4977f72a5267501ad3bf7201ad77216b64cc99e9c54e4c4787a0c26ca94302cc507ca747dd4c073bfdf8e9ae931b1b329d6d7df339e26d665a5 SHA512 5c5b9ade91898ec2fe142ff98dc7ae681a9f3b923ce40998a731cb84fdfcdbde6510cc9da026a9359526569e37472b06c1a6bc5a2794d2af5e9d6f1d13a21ac8 +DIST gradle-bin-8.0.zip 167597373 BLAKE2B 68c66d6f9372986db97b5ba206d7019a304fabd9fe56189540cc041e3b808b16442c69e4d430bfae3299625b533953a223df4c7b7533d70f8e3508c65643386a SHA512 5c1260aacff4999ffac9061110b50703793f44d31517b9e836396ca682d19e6eb7dd2b117a96c9e839f5ad25c8f3122809e19ce440540e72322afe0a8fccca50 diff --git a/dev-java/gradle-bin/gradle-bin-8.0.ebuild b/dev-java/gradle-bin/gradle-bin-8.0.ebuild new file mode 100644 index 000000000000..6fceca3ae5c8 --- /dev/null +++ b/dev-java/gradle-bin/gradle-bin-8.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 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 +} |