From 62d76c5259a209017f4e2b895fccd3f06ae5dfff Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Thu, 23 Jun 2016 01:50:31 -0500 Subject: jna-4.2.2-1.1: rebuild --- pcr/jna/PKGBUILD | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'pcr/jna/PKGBUILD') diff --git a/pcr/jna/PKGBUILD b/pcr/jna/PKGBUILD index 751ba695f..0bfe85cfd 100644 --- a/pcr/jna/PKGBUILD +++ b/pcr/jna/PKGBUILD @@ -2,7 +2,7 @@ pkgname=jna pkgver=4.2.2 -pkgrel=1 +pkgrel=1.1 pkgdesc="Access native libraries with pure Java code." arch=('any') url='https://github.com/java-native-access/jna' @@ -24,7 +24,7 @@ prepare() { build() { cd "${srcdir}/${pkgname}-${pkgver}" - ant jar javadoc \ + ant jar javadoc contrib-jars \ -Dmaven-release=true } @@ -37,15 +37,21 @@ package() { # Install documentation install -d "${pkgdir}/usr/share/doc/${pkgname}" - cp -r "doc/javadoc" "${pkgdir}/usr/share/doc/${pkgname}" + cp -r doc/javadoc "${pkgdir}/usr/share/doc/${pkgname}" # Install Maven artifacts export DESTDIR=${pkgdir} jh mvn-install "net.java.dev.${pkgname}" ${pkgname} ${pkgver} \ - "pom-jna.xml" \ + "pom-${pkgname}.xml" \ "build/${pkgname}.jar" \ "${pkgname}-${pkgver}.jar" + jh mvn-install "net.java.dev.${pkgname}" "${pkgname}-platform" ${pkgver} \ + "pom-${pkgname}-platform.xml" \ + "contrib/platform/dist/${pkgname}-platform.jar" \ + "${pkgname}-platform-${pkgver}.jar" ln -s "/usr/share/java/${pkgname}-${pkgver}.jar" \ "${pkgdir}/usr/share/java/${pkgname}.jar" + ln -s "/usr/share/java/${pkgname}-platform-${pkgver}.jar" \ + "${pkgdir}/usr/share/java/${pkgname}-platform.jar" } -- cgit v1.2.3-54-g00ecf