# Maintainer: Jesus E. pkgname=gdk-pixbuf-xlib pkgver=2.40.2 pkgrel=1 pkgdesc='Deprecated Xlib integration for GdkPixbuf' arch=('i686' 'x86_64') url='https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib' license=('LGPL-2.1') depends=('gdk-pixbuf2' 'libx11') makedepends=('meson' 'quilt') source=(https://gitlab.gnome.org/Archive/gdk-pixbuf-xlib/-/archive/2.40.2/gdk-pixbuf-xlib-${pkgver}.tar.gz) sha512sums=('46dd4775b3e9c11884ded97222661fb93cd3f017d3d083ebc2cd628cef5fb51f8dd62d0d3221ac837cffe967ffb2923184bc1f2a20b201acd4e7bbfc7844d28f') build() { hyperbola-meson $pkgname-$pkgver build -D gtk_doc=false meson compile -C build } check() { meson test -C build --print-errorlogs } package() { DESTDIR="$pkgdir" meson install -C build cd $pkgname-$pkgver install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname" }