pkgname=gdk-pixbuf pkgver=2.42.12 pkgrel=1 pkgdesc="An image loading library" arch=('x86_64') url="https://wiki.gnome.org/Projects/GdkPixbuf" license=('LGPL-2.0-or-later') depends=('glib2' 'glibc' 'libjpeg-turbo' 'libpng' 'libtiff' 'shared-mime-info') makedepends=('gobject-introspection' 'meson' 'python-docutils' 'python-setuptools') install=${pkgname}.install source=(https://download.gnome.org/sources/gdk-pixbuf/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(b9505b3445b9a7e48ced34760c3bcb73e966df3ac94c95a148cb669ab748e3c7) build() { cd ${pkgname}-${pkgver} local meson_args=( -Dothers=enabled --wrap-mode=nofallback -Dman=true ) ${meson_options} ${meson_args[@]} ${meson_build} } package() { cd ${pkgname}-${pkgver} ${meson_install} ${pkgdir} }