diff options
author | skydrome | 2018-01-30 05:25:32 -0500 |
---|---|---|
committer | skydrome | 2018-01-30 05:25:32 -0500 |
commit | 15a4a21f45c8bf9256e0667c46521e186ce7e6a2 (patch) | |
tree | 910efb136ec42c34586d7aa420cb47841dace827 | |
parent | d993cb6adfe03a977689aa4205859569403325f9 (diff) | |
download | aur-15a4a21f45c8bf9256e0667c46521e186ce7e6a2.tar.gz |
fix arm
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -29,8 +29,10 @@ build() { source /etc/profile.d/jre.sh export JAVA_HOME="${JAVA_HOME:-/usr/lib/jvm/default}" - [[ "$CARCH" = @(x86_64|aarch64) ]] && _bits=64 || _bits=32 - ant -Dbits=${_bits} -Dos.arch="$(uname -m)" jar compile-c-unix + [[ "$CARCH" = @(x86_64|aarch64) ]] && _bits=64 || _bits=32 + [[ "$CARCH" = arm* ]] && _arch=armhf || _arch=x86 + + ant -Dbits="$_bits" -Ddist.arch="$_arch" jar compile-c-unix } package() { |