blob: 022675384cfe3a0c7045a064645c84f8688812d7 (
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
|
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
pkgname=jakartaee8-doc
pkgver=8.0.0
pkgrel=2
pkgdesc="Jakarta EE 8 documentation."
arch=('any')
url="https://github.com/eclipse-ee4j/jakartaee-api"
license=('EPL')
makedepends=('java-environment-openjdk=8' 'maven')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('8e0d71e64dff57d07d49d1aa463fd54b23fa189d4d31df6d8ba38449de1de88a')
build() {
cd "jakartaee-api-${pkgver}"
export JAVA_HOME="/usr/lib/jvm/java-8-openjdk"
mvn -Pstaging install javadoc:javadoc
}
package() {
cd "jakartaee-api-${pkgver}"
install -d "${pkgdir}/usr/share/doc/${pkgname%-doc}/"
cp -r "jakartaee-api/target/site/apidocs" "${pkgdir}/usr/share/doc/${pkgname%-doc}/api"
cp -r "jakartaee-web-api/target/site/apidocs" "${pkgdir}/usr/share/doc/${pkgname%-doc}/web-api"
}
# vim:set ts=4 sw=4 et:
|