summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGonzalo Exequiel Pedone2024-07-21 10:09:11 -0300
committerGonzalo Exequiel Pedone2024-07-21 10:09:11 -0300
commit3d83391157709b9930a3c591efd25183e86fa634 (patch)
treef8a0f4c433226d8d0dceb983222cbd805c5d3b24 /PKGBUILD
parenta5e249a7949534b4073001971ff33b098ad500b2 (diff)
downloadaur-android-armv7a-eabi-webp-pixbuf-loader.tar.gz
Package updated.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 86691e4a9940..08bad1c05dcf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,11 +5,12 @@ _android_arch=armv7a-eabi
pkgname=android-${_android_arch}-webp-pixbuf-loader
pkgver=0.2.7
-pkgrel=1
+pkgrel=2
arch=('any')
pkgdesc="WebM GDK Pixbuf Loader library (Android ${_android_arch})"
url="https://github.com/aruiz/webp-pixbuf-loader"
license=('LGPL')
+groups=(android-webp-pixbuf-loader)
depends=("android-${_android_arch}-gdk-pixbuf2"
"android-${_android_arch}-libwebp")
makedepends=('android-meson')
@@ -21,16 +22,14 @@ build() {
cd "${srcdir}/webp-pixbuf-loader-${pkgver}"
source android-env ${_android_arch}
- mkdir -p build
- cd build
- android-${_android_arch}-meson
- ninja
+ android-${_android_arch}-meson build
+ ninja -C build
}
package() {
- cd "${srcdir}/webp-pixbuf-loader-${pkgver}/build"
+ cd "${srcdir}/webp-pixbuf-loader-${pkgver}"
source android-env ${_android_arch}
- DESTDIR="${pkgdir}" ninja install
+ DESTDIR="${pkgdir}" ninja -C build install
find "${pkgdir}/${ANDROID_PREFIX_LIB}" -type f -name '*.so' -exec ${ANDROID_STRIP} -g --strip-unneeded {} \;
}