aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Langenmaier <stefan.langenmaier@gmail.com>2016-05-05 21:43:48 -0400
committerStefan Langenmaier <stefan.langenmaier@gmail.com>2016-05-05 21:43:48 -0400
commit436204242684e14b557c43280ba0e8e254454232 (patch)
tree85f2ccb9cf0b28a1179df58ffc0d004d8c011adf /dev-java
parentadded a binary lombok ebuild (diff)
downloadeclipse-436204242684e14b557c43280ba0e8e254454232.tar.gz
eclipse-436204242684e14b557c43280ba0e8e254454232.tar.bz2
eclipse-436204242684e14b557c43280ba0e8e254454232.zip
included review comments for lombok support
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/lombok-bin/Manifest (renamed from dev-java/lombok/Manifest)0
-rw-r--r--dev-java/lombok-bin/lombok-bin-1.16.8.ebuild (renamed from dev-java/lombok/lombok-1.16.8.ebuild)15
-rw-r--r--dev-java/lombok-bin/metadata.xml4
3 files changed, 13 insertions, 6 deletions
diff --git a/dev-java/lombok/Manifest b/dev-java/lombok-bin/Manifest
index e64cf10..e64cf10 100644
--- a/dev-java/lombok/Manifest
+++ b/dev-java/lombok-bin/Manifest
diff --git a/dev-java/lombok/lombok-1.16.8.ebuild b/dev-java/lombok-bin/lombok-bin-1.16.8.ebuild
index 28e7f3e..ef9cbb7 100644
--- a/dev-java/lombok/lombok-1.16.8.ebuild
+++ b/dev-java/lombok-bin/lombok-bin-1.16.8.ebuild
@@ -5,16 +5,19 @@ EAPI=6
inherit eutils
+MY_PN="lombok"
+
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/${P}.jar"
+SRC_URI="https://projectlombok.org/downloads/${MY_PN}-${PV}.jar"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="x86 amd64"
+KEYWORDS="~amd64 ~x86"
-DEPEND=">=virtual/jdk-1.7"
-RDEPEND="${DEPEND}"
+DEPEND=""
+RDEPEND=">=virtual/jdk-1.7
+ ${DEPEND}"
src_unpack() {
# so prepare is happy about the empty dir
@@ -22,6 +25,6 @@ src_unpack() {
}
src_install() {
- mkdir ${D}/usr/share/lombok -p
- cp ${DISTDIR}/${P}.jar ${D}/usr/share/lombok/lombok.jar
+ mkdir -p "${D}/usr/share/lombok"
+ cp "${DISTDIR}/${MY_PN}-${PV}.jar" "${D}/usr/share/lombok/lombok.jar"
}
diff --git a/dev-java/lombok-bin/metadata.xml b/dev-java/lombok-bin/metadata.xml
new file mode 100644
index 0000000..097975e
--- /dev/null
+++ b/dev-java/lombok-bin/metadata.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+</pkgmetadata>