summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3dc963c5dc8..c353313d5dd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = android-armv7a-eabi-bzip2
pkgdesc = A high-quality data compression program (android)
pkgver = 1.0.8
- pkgrel = 1
+ pkgrel = 2
url = http://sources.redhat.com/bzip2
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index 4de4611ad25..1e1730251a8 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}-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}/