summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2019-07-22 19:01:01 -0300
committerGonzalo Exequiel Pedone2019-07-22 19:01:01 -0300
commit9f6bcf6adda1d4a18102e70d2b0e4fe7c70b2f57 (patch)
tree6f097bb49d18be8a232c2981d932502595c3cd1e
parent73ac8a1bc4e45f9d305b69702b22fbaa76cc8f8a (diff)
downloadaur-9f6bcf6adda1d4a18102e70d2b0e4fe7c70b2f57.tar.gz
Package updated.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 11a5854e5a9c..683fff20e51b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = android-armv7a-eabi-xz
pkgdesc = Library and command line tools for XZ and LZMA compressed files (android)
pkgver = 5.2.4
- pkgrel = 2
+ pkgrel = 3
url = https://tukaani.org/xz
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 6db356a87471..cb27c2a728e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,10 @@
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
_android_arch=armv7a-eabi
-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