pkgname=pango pkgver=1.56.0 pkgrel=1 pkgdesc="A library for layout and rendering of text" arch=('x86_64') url="https://www.pango.org/" license=('LGPL-2.1-or-later') depends=( 'cairo' 'fontconfig' 'freetype2' 'fribidi' 'glib2' 'glibc' 'harfbuzz' 'libx11' 'libxft' 'libxrender' ) makedepends=( 'python-gi-docgen' 'gobject-introspection' 'meson' 'python-docutils' 'python-setuptools' ) source=(https://download.gnome.org/sources/pango/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(1fb98b338ee6f7cf8ef96153b7d242f4568fe60f9b7434524eca630a57bd538b) build() { cd ${pkgname}-${pkgver} local meson_args=( --wrap-mode=nofallback -Ddocumentation=true PKG_CONFIG_PATH=/usr/lib64/pkgconfig ) ${meson_options} ${meson_args[@]} ${meson_build} } package() { cd ${pkgname}-${pkgver} ${meson_install} ${pkgdir} }