blob: a29030dd3bd2b9bb7d1ddc67dd2bc254034fa96d (
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
|
# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
pkgname=jakartaee9-doc
pkgver=9.1.0
pkgrel=1
pkgdesc="Jakarta EE 9 documentation."
arch=('any')
url="https://github.com/eclipse-ee4j/jakartaee-api"
license=('EPL')
makedepends=('java-environment>=8' 'maven')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('6e76bd0d9e895709977f058bf71beb355d5b117028b626e121db8793e3ed14ff')
build() {
cd "jakartaee-api-${pkgver}"
mvn -Pstaging install javadoc:javadoc
}
package() {
cd "jakartaee-api-${pkgver}"
install -d "${pkgdir}/usr/share/doc/${pkgname%-doc}/"
cp -a "jakartaee-api/target/site/apidocs" "${pkgdir}/usr/share/doc/${pkgname%-doc}/api"
cp -a "jakartaee-web-api/target/site/apidocs" "${pkgdir}/usr/share/doc/${pkgname%-doc}/web-api"
}
# vim:set ts=4 sw=4:
|