aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flo@geekplace.eu>2019-01-06 18:32:25 +0100
committerFlorian Schmaus <flo@geekplace.eu>2019-01-06 18:45:41 +0100
commit1a6ea2fa3d31b06671edb69acaad4f827e5afd41 (patch)
treeeb0c389c6288b960c1965a5f6a5c31442bf1bba8
parentdev-java/icedtea: 2.6.15 released: http://bitly.com/it20615 (diff)
downloadjava-1a6ea2fa3d31b06671edb69acaad4f827e5afd41.tar.gz
java-1a6ea2fa3d31b06671edb69acaad4f827e5afd41.tar.bz2
java-1a6ea2fa3d31b06671edb69acaad4f827e5afd41.zip
dev-java/gradle-bin: Bump to 5.1
Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Florian Schmaus <flo@geekplace.eu>
-rw-r--r--dev-java/gradle-bin/Manifest1
-rw-r--r--dev-java/gradle-bin/gradle-bin-5.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/gradle-bin/Manifest b/dev-java/gradle-bin/Manifest
index 493983e7..76085d27 100644
--- a/dev-java/gradle-bin/Manifest
+++ b/dev-java/gradle-bin/Manifest
@@ -6,3 +6,4 @@ DIST gradle-4.6-all.zip 106724289 BLAKE2B 15475ccd6ea2305e30d0c2e59659eb742d984b
DIST gradle-4.7-all.zip 109748755 BLAKE2B e655c5478492736ff2fed7e2014bccdb3ebdb63b4c3217070fefd5f9987935f4fd822c561e21ac9e2e03e670cc0f47a98f036d1fb6a6211006407721260e2adf SHA512 23d5129306c724a8e8815a4b3aa57e5451893aaf5c5a1179f360ee402ec07e07804b00b594ffbfceb3f708a00e23600dfcaea6549e351f013a6c21e843e32146
DIST gradle-4.8-all.zip 110829164 BLAKE2B c2d2f97401ee7c23609e337cac7f535c26b857382a6acf13c3ce6ea26d796201c4a6ac7f3eab7dee4b38f5d69142f952204f4a7c5a109ba43fd723675a2314eb SHA512 500ea47ed97b611e5ff7b9016050b4d35becd8250a60c6421a07fe5118ceb7c203bc0c44074f974d98d8659cef81a97d8fab1afd1f231ed02772f90515f3284f
DIST gradle-4.9-all.zip 113472562 BLAKE2B a29303aab49eb79a9298fc1e7496ea2fc326846101ccbe5247a37b57c11b3e050ed65bb31a097912818cf0e5d8cbe0d2b20f8a4619f42011b696383e1578fd51 SHA512 e39ec89c2082e5d0c2f6c1d1f968045238056bf09108997b85e03b7493227c3d9d9c289f5b47e0c7aac5049885de89d22d3dcc3a4cd88a8d60229c0bfc95cb2b
+DIST gradle-5.1-all.zip 130659636 BLAKE2B ecf2e5ece8063200a1878dd8dc37a77a8d5eec8d7d7484b3b96cd7850d205d4969083733982f4bca96d0bfc0d95fad6864d6516feea1295e20ebdc75f01250ec SHA512 f2f08e6b29f065036e2e381d1ef5d77ab3f06a427a27b3f72137957b151b13ba74b67653595aeddd5f7e9b710a57b5abaefa7d1cbbc1ae9fb06cc630fff018ac
diff --git a/dev-java/gradle-bin/gradle-bin-5.1.ebuild b/dev-java/gradle-bin/gradle-bin-5.1.ebuild
new file mode 100644
index 00000000..2ce1bb0f
--- /dev/null
+++ b/dev-java/gradle-bin/gradle-bin-5.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 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="http://services.gradle.org/distributions/${MY_P}-all.zip"
+HOMEPAGE="http://www.gradle.org/"
+LICENSE="Apache-2.0"
+SLOT="${PV}"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-arch/zip
+ app-eselect/eselect-gradle"
+RDEPEND=">=virtual/jdk-1.6"
+
+IUSE="source doc examples"
+
+S="${WORKDIR}/${MY_P}"
+
+src_install() {
+ local gradle_dir="${EPREFIX}/usr/share/${PN}-${SLOT}"
+
+ dodoc docs/release-notes.html getting-started.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
+
+ # examples
+ if use examples ; then
+ java-pkg_doexamples samples
+ 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
+}