summaryrefslogtreecommitdiff
path: root/pcr/osgi-compendium/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/osgi-compendium/PKGBUILD')
-rw-r--r--pcr/osgi-compendium/PKGBUILD27
1 files changed, 13 insertions, 14 deletions
diff --git a/pcr/osgi-compendium/PKGBUILD b/pcr/osgi-compendium/PKGBUILD
index aaff37af7..7b5c1911f 100644
--- a/pcr/osgi-compendium/PKGBUILD
+++ b/pcr/osgi-compendium/PKGBUILD
@@ -1,21 +1,19 @@
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-_pkgname=osgi.compendium
+_pkgname=osgi.cmpn
pkgname=osgi-compendium
-pkgver=5.0.0
+pkgver=6.0.0
pkgrel=1
pkgdesc="Java OSGi API - Compendium module"
arch=('any')
url='https://www.osgi.org/developer/specifications/'
license=('APACHE')
depends=('java-runtime')
-makedepends=('java-geronimo-jpa' 'java-environment' 'jh' 'osgi-core' 'osgi-foundation-ee' 'tomcat8')
-source=("https://repo1.maven.org/maven2/org/osgi/org.${_pkgname}/${pkgver}/org.${_pkgname}-${pkgver}-sources.jar"
- "https://repo1.maven.org/maven2/org/osgi/org.${_pkgname}/${pkgver}/org.${_pkgname}-${pkgver}.pom"
- 'LICENSE.txt')
-sha1sums=('3f5760f4c64374f86e4071adae75e0db055eec84'
- '8d87c0739cfd003228420f1ab5300bd07bb26f0f'
- '5a7d7df655ba40478fae80a6abafc6afc36f9b6a')
+makedepends=('java-geronimo-jpa' 'java-environment' 'jh' 'osgi-annotation' 'osgi-core' 'osgi-foundation-ee' 'tomcat8')
+source=("https://repo1.maven.org/maven2/org/osgi/${_pkgname}/${pkgver}/${_pkgname}-${pkgver}-sources.jar"
+ "https://repo1.maven.org/maven2/org/osgi/${_pkgname}/${pkgver}/${_pkgname}-${pkgver}.pom")
+sha1sums=('cf4d979984a597753bf7e7df18369ec60f09a7fc'
+ '400a960b790469c070650ff36090200b7e0f8c16')
prepare() {
cd ${srcdir}
@@ -25,10 +23,11 @@ prepare() {
build() {
cd ${srcdir}
CLASSPATH="/usr/share/java/ee.foundation.jar:/usr/share/java/geronimo-jpa_2.0_spec.jar"
- CLASSPATH="$CLASSPATH:/usr/share/java/osgi.core.jar:/usr/share/java/tomcat8/servlet-api.jar"
+ CLASSPATH="$CLASSPATH:/usr/share/java/osgi.annotation.jar:/usr/share/java/osgi.core.jar"
+ CLASSPATH="$CLASSPATH:/usr/share/java/tomcat8/servlet-api.jar"
javac -cp $CLASSPATH -d build/classes -encoding UTF-8 \
$(find . -name \*.java)
- javadoc -classpath $CLASSPATH -d "build/javadoc" -encoding UTF-8 \
+ javadoc -classpath $CLASSPATH -d build/javadoc -encoding UTF-8 \
-sourcepath . -subpackages org
jar -cvf "${_pkgname}.jar" -C build/classes .
@@ -38,7 +37,7 @@ package() {
cd ${srcdir}
# Install license file
- install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
# Install documentation
install -d "${pkgdir}/usr/share/doc/${pkgname}"
@@ -46,8 +45,8 @@ package() {
# Install Maven artifacts
export DESTDIR=${pkgdir}
- jh mvn-install org.osgi "org.${_pkgname}" ${pkgver} \
- "org.${_pkgname}-${pkgver}.pom" \
+ jh mvn-install org.osgi ${_pkgname} ${pkgver} \
+ "${_pkgname}-${pkgver}.pom" \
"${_pkgname}.jar" \
"${_pkgname}-${pkgver}.jar"
ln -s "/usr/share/java/${_pkgname}-${pkgver}.jar" \