summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2019-06-12 14:49:16 -0300
committerGonzalo Exequiel Pedone2019-06-12 14:49:16 -0300
commitb8d65f745e68f1d6de044f4089152734d4dbdb92 (patch)
treedf7aba53ca01ddd1d8a43cbcbe6614147d68851c /PKGBUILD
parent4863735b92fce61dbf196fdbe27f642146334543 (diff)
downloadaur-b8d65f745e68f1d6de044f4089152734d4dbdb92.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 7bdfbd15036..48e3811dbf2 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=armv7a-eabi
-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
}