blob: 182f0246225549eb7b0b0d44112d8441454e63d2 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Musikolo <musikolo {at} hotmail [dot] com>
# Contributor: Infernio <infernio at icloud dot com>
# Contributor: BluePeril <blueperil (at) blueperil _dot_ de>
pkgbase="lombok"
pkgname=('lombok-common' 'lombok-eclipse-java' 'lombok-eclipse-jee' 'lombok-spring-tool-suite')
pkgver=1.18.34
pkgrel=1
pkgdesc="Project Lombok integrated with several Eclipse-based installations"
makedepends=('java-runtime')
arch=("any")
url="https://projectlombok.org"
license=('MIT')
source=("https://projectlombok.org/downloads/lombok-${pkgver}.jar")
sha256sums=('c27d6b2aff56241d1b07fcbcc6b183709e6b432c80f7374eeb1d823e86d4b81a')
noextract=("lombok.jar")
build() {
java -jar lombok-$pkgver.jar publicApi
}
package_lombok-common() {
replaces=('lombok-eclipse')
conflicts=('lombok-eclipse')
install -Dm644 lombok-$pkgver.jar "${pkgdir}"/usr/lib/$pkgname/lombok.jar
install -Dm644 lombok-api.jar "${pkgdir}"/usr/lib/$pkgname/lombok-api.jar
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}
package_lombok-eclipse-java() {
pkgdesc="Lombok integration with Eclipse IDE for Java Developers"
depends=(lombok-common=$pkgver-$pkgrel 'eclipse-java-bin')
install=lombok-eclipse.install
}
package_lombok-eclipse-jee() {
pkgdesc="Lombok integration with Eclipse IDE for Java EE Developers"
depends=(lombok-common=$pkgver-$pkgrel 'eclipse-jee-bin')
install=lombok-eclipse.install
}
package_lombok-spring-tool-suite() {
pkgdesc="Lombok integration with Spring Tool Suite (STS)"
depends=(lombok-common=$pkgver-$pkgrel 'spring-tool-suite')
install=lombok-sts.install
}
|