aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Langenmaier <stefan.langenmaier@gmail.com>2016-05-06 18:06:48 -0400
committerStefan Langenmaier <stefan.langenmaier@gmail.com>2016-05-06 18:13:05 -0400
commit07cde5bf6fbe272c302f0c4ddb5694b11c2a55fb (patch)
tree73aa6054b93343f90f18ed284daab96eaa746aea /dev-java
parentincluded review comments for lombok support (diff)
downloadeclipse-07cde5bf6fbe272c302f0c4ddb5694b11c2a55fb.tar.gz
eclipse-07cde5bf6fbe272c302f0c4ddb5694b11c2a55fb.tar.bz2
eclipse-07cde5bf6fbe272c302f0c4ddb5694b11c2a55fb.zip
more fixes for lombok-bin
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/lombok-bin/lombok-bin-1.16.8.ebuild15
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"
}