diff options
author | 2024-06-19 10:18:27 +0200 | |
---|---|---|
committer | 2024-06-19 10:18:27 +0200 | |
commit | 13cc3ab16bce19245c818cbb10a0925614d53061 (patch) | |
tree | 571923c7a736ec1e06473cbd964e9cbff823fa5d | |
parent | dev-java/openjdk-loom: drop 19_pre20221116 (diff) | |
download | java-master.tar.gz java-master.tar.bz2 java-master.zip |
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r-- | dev-java/gradle-bin/Manifest | 1 | ||||
-rw-r--r-- | dev-java/gradle-bin/gradle-bin-6.9.4.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest index 0bfa92a5..678129cc 100644 --- a/dev-java/gradle-bin/Manifest +++ b/dev-java/gradle-bin/Manifest @@ -1,6 +1,7 @@ DIST gradle-4.10.3-all.zip 117609625 BLAKE2B c74da2bd24783bd80d6800d23bd2f7676e6871e69f981695d8eb28d000fd47739607c1840568cbe7c934eca21754ac3cb890925e45af9c43266bd31006274b8b SHA512 a688267399a1632d86e8c3d28e34ea58992bba64968f4d01b6c3e4ea63081167c556806b1e2718e6858a8d402c941fcdcbe761f3622fa2f74bd53dedffa620ff DIST gradle-5.6.2-all.zip 139632144 BLAKE2B 6d43594a752cf8eedb9958ac76a703cee35561779a152324e8429a1ce79b3c169dd5d34da780eec3147bae26472416f60fe77272927755ee5455481ca6c14e0f SHA512 f3e400d4b9dd3b11ab1bebb20fa927495760c4c57da814d08eeda0851d04609b719f930c1ce3030e35004a8af546b8847e9b389eb91c2a12da0ade974dab5ced DIST gradle-bin-6.8.3.zip 150631445 BLAKE2B 935a6631167481e289ac5a468b822ffeec204519edf42c8a0f05a911ef716715b706e3c22637763b4a7a0c7cbfa89f163673ef5631c115c025c5634b353fcee6 SHA512 fdd5c347142c2a8e2a1455d8886ddb103531de6e69d41f20d199a488d10165600924876761b452da213759a1dc6d47ed00a069f1a9f8af99fdbf1af3bb2e0564 +DIST gradle-bin-6.9.4.zip 150263528 BLAKE2B d1057f4e6beba1cfa096815bedc6f00869a86245921813c6138ae9070bd265f96686177146e42af8317f5a747319bb43590ec33195cbb878445cede9b0e872f1 SHA512 39616401dae95bceff425d311a83a76b32dc2e42433eff8f769fc987b17679a09bf476fe839b0c390410847b33b70976c85d08a2b03c91bf776e8f42198ac0c6 DIST gradle-bin-7.1.1.zip 154838841 BLAKE2B 0a0ad08101f0c5fa7c0cb2a4c9ad6e53320cc6214fe1a139f390b73d9aa656ebfaf90c21816d57964f37e9cad51faed21f82f55b7e24fcf0f5a3ffd861c990ad SHA512 95cc2de9b7c3d6019d7780b17238ff8f0db14c9a1e494b391c84d75619eb3064322bb2c56fa9127b0a5681c94b32283090a15b06fefeccdb95a1f8fb9e58c75c DIST gradle-bin-7.2.zip 157058280 BLAKE2B 918213df58ac2afbd075c74588f60676cd7dc99030834828138c621348ac1abd368e0b54c2f6937cbfc9533e55e310b46cf841c92dcb1039b898c6f456032d38 SHA512 6ccc79f08afdc20b3d5abf876c3cabb69114d1ab4285cdb77158cd8c5e09207589edefb6c79f2bcffe4629a38c6b9e2f473de42dab29a24310965bc5816b907d DIST gradle-bin-7.3.3.zip 158875257 BLAKE2B 94f86e06da3eae4a9522d35a28577d033d64ce1bc2f36d0f5c1992e9b92ec311d25bd98bbeaf4b8a9869f22d93e14c88952e12166e436a0a6c206541d1f967aa SHA512 03f2bdd77202788cd43bb3e3a6390340f4d083d69ade5a53e0163204fb85307f5bbbbf4e04077c6ae558bc36ab3c478674f941079bc14a8344f55631fbba1490 diff --git a/dev-java/gradle-bin/gradle-bin-6.9.4.ebuild b/dev-java/gradle-bin/gradle-bin-6.9.4.ebuild new file mode 100644 index 00000000..beaa3155 --- /dev/null +++ b/dev-java/gradle-bin/gradle-bin-6.9.4.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} |