aboutsummaryrefslogtreecommitdiff
blob: d43d2f71b35a90a5835f76cd67d927be381108d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6

inherit java-utils-2

MY_P=${PN%%-bin}-${PV}
MY_PN=${PN%%-bin}

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_P}.jar"
LICENSE="MIT"

SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND=">=virtual/jdk-1.7"
RDEPEND=">=virtual/jre-1.7"

S="${WORKDIR}"

src_unpack() {
	:
}

src_install() {
	java-pkg_jarinto "/usr/share/${MY_PN}/lib/"
	java-pkg_newjar "${DISTDIR}/${MY_P}.jar" "${MY_PN}.jar"
}