diff options
-rw-r--r-- | pcr/osgi-annotation/PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pcr/osgi-annotation/PKGBUILD b/pcr/osgi-annotation/PKGBUILD index 778d5ebf4..2d6043b9b 100644 --- a/pcr/osgi-annotation/PKGBUILD +++ b/pcr/osgi-annotation/PKGBUILD @@ -1,17 +1,17 @@ # Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe> -_pkgname=org.osgi.annotation +_pkgname=osgi.annotation pkgname=osgi-annotation pkgver=6.0.0 -pkgrel=2 +pkgrel=3 pkgdesc="Java OSGi API - annotation module" arch=('any') url='https://www.osgi.org/developer/specifications/' license=('APACHE') depends=('java-runtime') makedepends=('java-environment' 'jh') -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") +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") sha1sums=('d7ebeed8c7afb937ddb4652d90517c8c05294ee0' 'dfa6ed7265c0e8aa37b7056166edb4357747e459') @@ -42,8 +42,8 @@ package() { # Install Maven artifacts export DESTDIR=${pkgdir} - jh mvn-install org.osgi ${_pkgname} ${pkgver} \ - pom.xml \ + jh mvn-install org.osgi "org.${_pkgname}" ${pkgver} \ + "org.${_pkgname}-${pkgver}.pom" \ ${_pkgname}.jar \ ${_pkgname}-${pkgver}.jar ln -s "/usr/share/java/${_pkgname}-${pkgver}.jar" \ |