pkgname=json-glib pkgver=1.10.6 pkgrel=1 pkgdesc="JSON library built on GLib" arch=('x86_64') url="https://gnome.pages.gitlab.gnome.org/json-glib/" license=('LGPL-2.1-or-later') depends=('glib2' 'glibc') makedepends=('docbook-xsl' 'gobject-introspection' 'meson' 'python-docutils' 'python-setuptools') source=(https://download.gnome.org/sources/json-glib/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(77f4bcbf9339528f166b8073458693f0a20b77b7059dbc2db61746a1928b0293) build() { cd ${pkgname}-${pkgver} local meson_args=( -Ddocumentation=disabled -Dman=true -Dinstalled_tests=false ) ${meson_options} ${meson_args[@]} ${meson_build} } package() { cd ${pkgname}-${pkgver} ${meson_install} ${pkgdir} }