aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
Diffstat (limited to 'community')
-rw-r--r--community/java-jffi/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/community/java-jffi/APKBUILD b/community/java-jffi/APKBUILD
index 6653462df8..5ff276eb2d 100644
--- a/community/java-jffi/APKBUILD
+++ b/community/java-jffi/APKBUILD
@@ -4,11 +4,10 @@ pkgname=java-jffi
_pkgname=${pkgname#java-}
pkgver=1.2.12
_libver=${pkgver%.*}
-pkgrel=0
+pkgrel=1
pkgdesc="Java Foreign Function Interface"
url="https://github.com/jnr/jffi"
-# openjdk8 is currently build only for x86*
-arch="x86 x86_64"
+arch="noarch"
license="ASL-2.0"
depends="openjdk8-jre-base"
makedepends="apache-ant file openjdk8"
@@ -22,7 +21,6 @@ build() {
}
package() {
- arch="noarch"
depends="$pkgname-native"
install -m644 -D "$builddir"/dist/jffi.jar \
@@ -31,6 +29,8 @@ package() {
}
native() {
+ arch="all"
+
# Note: jffi expects file named libjffi-x.y.so, not libjffi.so.x.y.
install -m755 -D "$builddir"/build/jni/libjffi-$_libver.so \
"$subpkgdir"/usr/lib/libjffi-$_libver.so