summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2019-07-22 17:31:53 -0300
committerGonzalo Exequiel Pedone2019-07-22 17:31:53 -0300
commita35d3602271b97904ecb0cb06a03103dc7fc9a00 (patch)
treed55b338d6479cd587da0bc4b19ed78087556592c
parentdb4a5d75f91b31a26956a142c02a974822c40e01 (diff)
downloadaur-a35d3602271b97904ecb0cb06a03103dc7fc9a00.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 9cf1e2e56d3..e298b0138f0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = android-x86-64-libogg
pkgdesc = Ogg bitstream and framing library (android)
pkgver = 1.3.3
- pkgrel = 4
+ pkgrel = 5
url = http://xiph.org
arch = any
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 126b3fa2cb0..49d84fdcffb 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}-libogg
pkgver=1.3.3
-pkgrel=4
+pkgrel=5
pkgdesc="Ogg bitstream and framing library (android)"
arch=('any')
url="http://xiph.org"
@@ -17,11 +16,13 @@ source=("http://downloads.xiph.org/releases/ogg/libogg-${pkgver}.tar.gz")
sha256sums=('c2e8a485110b97550f453226ec644ebac6cb29d1caef2902c007edab4308d985')
prepare() {
+ source android-env ${_android_arch}
check_ndk_version_ge_than 18.0
}
build() {
cd "${srcdir}"/libogg-${pkgver}
+ source android-env ${_android_arch}
android-${_android_arch}-configure
make $MAKEFLAGS
@@ -29,6 +30,7 @@ build() {
package() {
cd "${srcdir}"/libogg-${pkgver}
+ source android-env ${_android_arch}
make DESTDIR="$pkgdir" install
rm -r "${pkgdir}"/${ANDROID_PREFIX_SHARE}