diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-03-16 11:19:29 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-03-16 12:47:15 +0100 |
commit | 9976a8047cffeba96f3cc9dd32d256302a347228 (patch) | |
tree | 0d3e4b53c669c0ce4fb3fe8507fc1676571956da /dev-java | |
parent | net-vpn/headscale: 0.20.0 version bump (diff) | |
download | gentoo-9976a8047cffeba96f3cc9dd32d256302a347228.tar.gz gentoo-9976a8047cffeba96f3cc9dd32d256302a347228.tar.bz2 gentoo-9976a8047cffeba96f3cc9dd32d256302a347228.zip |
dev-java/gradle-bin: add 8.0.2
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.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index 9afea2d4b31d..8f59bc784cc8 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -6,3 +6,4 @@ DIST gradle-bin-7.4.2.zip 159315974 BLAKE2B c7c8dbe82d22dec699d1997a781f3a66110c DIST gradle-bin-7.5.1.zip 166101707 BLAKE2B e018f8ae0e4cbe1fff2e3fb3029ef4c3f35e1bf541ce75f22561e16c43d8501c2f2501db72081656a836ab1c3358020dbf0be3499e7c16b385d9940c852c62ae SHA512 89189d529df1258a01ad2e6c38b1374dfb3a1440706c1c7f27ace89b6fd5b6849f9809f209e3e410f226aeeb9348d144de70397ac94b4e59fd311a2b0dee0dc9 DIST gradle-bin-7.6.1.zip 165594858 BLAKE2B 623ed41b7e0dfbfa015578c6915ca382cb441082e181f96d00d058a1bd42b5e749b807f8c0444c4cd41de17a7f754960f55aa69e8dd4339bd64444432ad8748e SHA512 72d051d8cf348c13dda20eec56526a3c212e9a9635920b3260281e2f98cf113ffaf4efb8efbb96081c36b9fae847c291125e24d175d6fb832b8dd6e0e74779ae DIST gradle-bin-8.0.1.zip 167663052 BLAKE2B e1d08ea2b78c86c4b1e7676856b0311cda7dabb79458193a15cc082317f7f63d194eef5044bc91bd971d1c831976a95bb69569b210fa42ecf708fe99ea2d4634 SHA512 148453411eb554c7606bc200491952c77b4cdd170d9306bc634e1c32e99b52142cb20cfec7d7ed899bc21098a15a45b255d6ea238d432d529a6270f84d2887c5 +DIST gradle-bin-8.0.2.zip 167671533 BLAKE2B e5cb4bef61ea89cfbf42c72c14e739f049b4930521dabaeb88fa6e2fffec81d6ee6514b615a6c1732db3bad4539e72ebbbeeb37b2f22a72fd2d2e08f7bf8d1b8 SHA512 70f114e353ec3e114b003e733e21c47fd26d2777363d015872aa9eab73c68b3186f77698aa1d72d4f4eedb2c53b0cd47a98f26ef5f0a9b2c1e42c6c877cca80f diff --git a/dev-java/gradle-bin/gradle-bin-8.0.2.ebuild b/dev-java/gradle-bin/gradle-bin-8.0.2.ebuild new file mode 100644 index 000000000000..6fceca3ae5c8 --- /dev/null +++ b/dev-java/gradle-bin/gradle-bin-8.0.2.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 +} |