diff options
-rw-r--r-- | dev-java/lombok-bin/lombok-bin-1.16.8.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/dev-java/lombok-bin/lombok-bin-1.16.8.ebuild b/dev-java/lombok-bin/lombok-bin-1.16.8.ebuild index ef9cbb7..016a17b 100644 --- a/dev-java/lombok-bin/lombok-bin-1.16.8.ebuild +++ b/dev-java/lombok-bin/lombok-bin-1.16.8.ebuild @@ -5,26 +5,23 @@ EAPI=6 inherit eutils -MY_PN="lombok" +MY_P=${PN%%-bin}-${PV} DESCRIPTION="Project Lombok makes java a spicier language by adding 'handlers' that know how to build and compile simple, boilerplate-free, not-quite-java code." HOMEPAGE="https://projectlombok.org/" -SRC_URI="https://projectlombok.org/downloads/${MY_PN}-${PV}.jar" +SRC_URI="https://projectlombok.org/downloads/${MY_P}.jar" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -DEPEND="" -RDEPEND=">=virtual/jdk-1.7 +DEPEND=">=virtual/jdk-1.7:*" +RDEPEND=">=virtual/jre-1.7 ${DEPEND}" -src_unpack() { - # so prepare is happy about the empty dir - mkdir ${P} -} +S="${WORKDIR}" src_install() { mkdir -p "${D}/usr/share/lombok" - cp "${DISTDIR}/${MY_PN}-${PV}.jar" "${D}/usr/share/lombok/lombok.jar" + cp "${DISTDIR}/${MY_P}.jar" "${D}/usr/share/lombok/lombok.jar" } |