aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/gradle-bin/Manifest1
-rw-r--r--dev-java/gradle-bin/gradle-bin-6.7.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest
index 31c92a0c..b759cb74 100644
--- a/dev-java/gradle-bin/Manifest
+++ b/dev-java/gradle-bin/Manifest
@@ -13,3 +13,4 @@ DIST gradle-6.2.2-all.zip 139200435 BLAKE2B 5e9a0a1418e5bbeb7c26435d1d851bb68bc0
DIST gradle-6.4.1-all.zip 145723302 BLAKE2B a1a42a672d117365a8c89d7e68da295ac33e340b5a74d4f078ca83a09efa3c696e208308b4c67ecf6fadce35a358fa0cabfea53c1fd04951745d5510f860e8b0 SHA512 616e55e3b611261831afd031495ccbd5f929b9d67ea70e7ed76899dd35cc90ab48e793f3912f6f44ce400dcd3e517a7b56856a79add281ea556b2c5cfc8d91d5
DIST gradle-6.5-all.zip 145767155 BLAKE2B dccc31ec08e4ff3affac3d33b144dd5cc546cb51f56337e98d0f22e0ddfd0cf4a4f3df0fb7b38067d1516365ba750c3276d8ee760db4318570bd603e05d6f139 SHA512 e2e867931be4513236da16526f35a809ea5851876f6d77a9172ba69d6ce209a2dfe9891c25e4d573c99bd5c866609672945782c27058b039ca7b918905c7db92
DIST gradle-6.6.1-all.zip 145214952 BLAKE2B ad3afde7f47a4aa1b618b2a4bb0ef8178a4fc4f08dfeb0957b29a92fa5eb7601074a41631becfd8e8a5bc35bcf03ee95b324ed47da068c43e6568c7f7d8b20fc SHA512 42d438d614fb9cbc5cd8a240eca940fc3d384dfa234f7146eb1dbb53059be7d1ce87504ddfa56bf2e60cba1f9ed28030d8332893e2bee56a71be15aba8805a4c
+DIST gradle-6.7-all.zip 146226964 BLAKE2B f9806a3a302f31075d10363788f9f2d76c7d7b3091783c855bcdc50c846e7fb25880b5a566e509ae0ed7711c957605c6d3d37d12fc2e3f8c9752f5e8205de576 SHA512 7c9f4a8edb9a18f600e27ea5bbc04a744c732add6ac93382fee819075c41fc970ac4085096194ca1007e923d26e190f4009fd5fa365359943ab38c9a83d998ec
diff --git a/dev-java/gradle-bin/gradle-bin-6.7.ebuild b/dev-java/gradle-bin/gradle-bin-6.7.ebuild
new file mode 100644
index 00000000..4f904e61
--- /dev/null
+++ b/dev-java/gradle-bin/gradle-bin-6.7.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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"
+HOMEPAGE="https://www.gradle.org/"
+LICENSE="Apache-2.0"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/zip
+ app-eselect/eselect-gradle"
+RDEPEND="virtual/jre"
+
+IUSE="source doc"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ local gradle_dir="${EPREFIX}/usr/share/${PN}-${SLOT}"
+
+ dodoc docs/release-notes.html
+
+ insinto "${gradle_dir}"
+
+ # source
+ if use source ; then
+ java-pkg_dosrc src/*
+ fi
+
+ # docs
+ if use doc ; then
+ 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
+}