summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2019-07-22 18:42:17 -0300
committerGonzalo Exequiel Pedone2019-07-22 18:42:17 -0300
commit971949089ec623f905e4290b27b248dccc56b57f (patch)
tree6614a395dd28a481d314f7d2ab84e773fda59a5e /PKGBUILD
parentcb8061faddc131591b210ea72201445d81744a9c (diff)
downloadaur-android-x86-64-libwebp.tar.gz
Package updated.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 95cd46e2d21..98dfa72b214 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,10 @@
# Contributor: drakkan <nicola.murino at gmail dot com>
_android_arch=x86-64
-source android-env ${_android_arch}
pkgname=android-${_android_arch}-libwebp
pkgver=1.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="WebP library and conversion tools (android)"
arch=('any')
url="https://developers.google.com/speed/webp/"
@@ -22,11 +21,14 @@ sha256sums=('082d114bcb18a0e2aafc3148d43367c39304f86bf18ba0b2e766447e111a4a91')
prepare() {
cd "$srcdir/libwebp-${pkgver}"
+ source android-env ${_android_arch}
+
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd "$srcdir/libwebp-${pkgver}"
+ source android-env ${_android_arch}
unset LDFLAGS
android-${_android_arch}-configure \
@@ -39,6 +41,7 @@ build() {
package() {
cd "$srcdir/libwebp-${pkgver}"
+ source android-env ${_android_arch}
make DESTDIR="$pkgdir" install
rm -r "${pkgdir}"/${ANDROID_PREFIX_BIN}