summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2019-07-22 19:00:37 -0300
committerGonzalo Exequiel Pedone2019-07-22 19:00:37 -0300
commitd40cf6eb05214dbcb4fdf888760fb836ce10be20 (patch)
tree99c763b81d734a72317fb4ca22d4952ff3cd81db /PKGBUILD
parent44fcaf689a435f7f3f2bb0a3ff59b3a10293a6e2 (diff)
downloadaur-android-aarch64-xz.tar.gz
Package updated.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 22f568478a4..63c529dbcbb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,10 @@
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
_android_arch=aarch64
-source android-env ${_android_arch}
pkgname=android-${_android_arch}-xz
pkgver=5.2.4
-pkgrel=2
+pkgrel=3
pkgdesc="Library and command line tools for XZ and LZMA compressed files (android)"
arch=('any')
url="https://tukaani.org/xz"
@@ -17,11 +16,13 @@ source=("${url}/xz-${pkgver}.tar.gz")
sha256sums=('b512f3b726d3b37b6dc4c8570e137b9311e7552e8ccbab4d39d47ce5f4177145')
prepare() {
+ source android-env ${_android_arch}
check_ndk_version_ge_than 18.0
}
build() {
cd "${srcdir}"/xz-${pkgver}
+ source android-env ${_android_arch}
android-${_android_arch}-configure \
--disable-xz \
@@ -37,6 +38,7 @@ build() {
package() {
cd "${srcdir}"/xz-${pkgver}
+ source android-env ${_android_arch}
make DESTDIR="$pkgdir" install
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/*.so