summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2019-07-22 16:50:57 -0300
committerGonzalo Exequiel Pedone2019-07-22 16:50:57 -0300
commit8650eabf4f2ea9090853cdb05587eae1c21f451a (patch)
treec54017a604bca1f67974acd9a0c16bb0a9200c23 /PKGBUILD
parent35b58993c12fa78d4af08894a617702a55826d99 (diff)
downloadaur-android-x86-64-bzip2.tar.gz
Package updated.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5db17af9e8f..1f873e13891 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,10 @@
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
_android_arch=x86-64
-source android-env ${_android_arch}
pkgname=android-${_android_arch}-bzip2
pkgver=1.0.8
-pkgrel=1
+pkgrel=2
pkgdesc="A high-quality data compression program (android)"
arch=('any')
url="http://sources.redhat.com/bzip2"
@@ -22,6 +21,7 @@ prepare() {
build() {
cd "$srcdir"/bzip2-$pkgver
+ source android-env ${_android_arch}
make libbz2.a \
CC=${ANDROID_CC} \
@@ -33,6 +33,7 @@ build() {
package() {
cd "$srcdir"/bzip2-$pkgver
+ source android-env ${_android_arch}
install -m755 -d "${pkgdir}"/${ANDROID_PREFIX_INCLUDE}
install -m644 bzlib.h "${pkgdir}"/${ANDROID_PREFIX_INCLUDE}/