mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
dev-java/gradle-bin: fork slot 6, still required by jd-gui
This commit is contained in:
parent
9f839b2c06
commit
0c9c57df9e
4 changed files with 65 additions and 1 deletions
1
dev-java/gradle-bin/Manifest
Normal file
1
dev-java/gradle-bin/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST gradle-bin-6.8.3.zip 150631445 BLAKE2B 935a6631167481e289ac5a468b822ffeec204519edf42c8a0f05a911ef716715b706e3c22637763b4a7a0c7cbfa89f163673ef5631c115c025c5634b353fcee6 SHA512 fdd5c347142c2a8e2a1455d8886ddb103531de6e69d41f20d199a488d10165600924876761b452da213759a1dc6d47ed00a069f1a9f8af99fdbf1af3bb2e0564
|
||||
61
dev-java/gradle-bin/gradle-bin-6.8.3.ebuild
Normal file
61
dev-java/gradle-bin/gradle-bin-6.8.3.ebuild
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
# Copyright 1999-2021 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
|
||||
}
|
||||
|
|
@ -17,7 +17,6 @@ SRC_URI="https://github.com/java-decompiler/jd-gui/archive/v${PV}.tar.gz -> ${P}
|
|||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
#java-pkg-2 sets java based on RDEPEND so the java slot in rdepend is used to build
|
||||
RDEPEND="virtual/jre:11
|
||||
|
|
|
|||
|
|
@ -5,4 +5,7 @@
|
|||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">java-decompiler/jd-gui</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
Loading…
Reference in a new issue