summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2019-06-12 14:49:50 -0300
committerGonzalo Exequiel Pedone2019-06-12 14:49:50 -0300
commit7ad2e689ed5a25b30158ee54f46afa807602fa5a (patch)
tree18f5cdb6a40aebb6b39ee1d8e076ce18f32928bd /PKGBUILD
parent7ae96f2c1022ef1c151dfe84d5a2a2c07aa5e1eb (diff)
downloadaur-7ad2e689ed5a25b30158ee54f46afa807602fa5a.tar.gz
Package updated.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dfaeb199eca..761e155aaf6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,18 @@
-# PKGBUILD for android-libogg
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
_android_arch=x86
-source android-env.sh ${_android_arch}
+source android-env ${_android_arch}
pkgname=android-${_android_arch}-bzip2
pkgver=1.0.6
-pkgrel=1
+pkgrel=2
pkgdesc="A high-quality data compression program (android)"
arch=('any')
url="http://sources.redhat.com/bzip2"
license=("custom")
depends=('android-ndk')
options=(!strip !buildflags staticlibs !emptydirs)
-makedepends=('android-pkg-config')
+makedepends=('android-environment' 'android-pkg-config')
source=("https://fossies.org/linux/misc/bzip2-${pkgver}.tar.gz")
sha1sums=('3f89f861209ce81a6bab1fd1998c0ef311712002')
@@ -28,16 +27,16 @@ build() {
CC=${ANDROID_CC} \
AR=${ANDROID_AR} \
RANLIB=${ANDROID_RANLIB} \
- PREFIX=${ANDROID_LIBS} \
+ PREFIX=${ANDROID_PREFIX} \
$MAKEFLAGS
}
package() {
cd "$srcdir"/bzip2-$pkgver
- install -m755 -d "${pkgdir}"/${ANDROID_LIBS}/include
- install -m644 bzlib.h "${pkgdir}"/${ANDROID_LIBS}/include/
- install -m755 -d "${pkgdir}"/${ANDROID_LIBS}/lib
- install -m644 libbz2.a "${pkgdir}"/${ANDROID_LIBS}/lib/
- ${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_LIBS}/lib/*.a
+ install -m755 -d "${pkgdir}"/${ANDROID_PREFIX_INCLUDE}
+ install -m644 bzlib.h "${pkgdir}"/${ANDROID_PREFIX_INCLUDE}/
+ install -m755 -d "${pkgdir}"/${ANDROID_PREFIX_LIB}
+ install -m644 libbz2.a "${pkgdir}"/${ANDROID_PREFIX_LIB}/
+ ${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_PREFIX_LIB}/*.a
}