summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 36833968c4a4..031799dd43b4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = android-armv7a-eabi-libvorbis
pkgdesc = Vorbis codec library (android)
pkgver = 1.3.6
- pkgrel = 3
+ pkgrel = 4
url = http://xiph.org
arch = any
license = custom
diff --git a/PKGBUILD b/PKGBUILD
index c53bc595af4f..f4ca3833f8c9 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}-libvorbis
pkgver=1.3.6
-pkgrel=3
+pkgrel=4
pkgdesc="Vorbis codec library (android)"
arch=('any')
url="http://xiph.org"
@@ -20,12 +19,14 @@ sha256sums=('6ed40e0241089a42c48604dc00e362beee00036af2d8b3f46338031c9e0351cb'
prepare() {
cd "${srcdir}"/libvorbis-${pkgver}
+ source android-env ${_android_arch}
patch -Np1 -i "../configure.patch"
}
build() {
cd "${srcdir}"/libvorbis-${pkgver}
+ source android-env ${_android_arch}
android-${_android_arch}-configure
make $MAKEFLAGS
@@ -33,6 +34,7 @@ build() {
package() {
cd "${srcdir}"/libvorbis-${pkgver}
+ source android-env ${_android_arch}
make DESTDIR="$pkgdir" install
rm -r "${pkgdir}"/${ANDROID_PREFIX_SHARE}