pkgname=pangomm pkgver=2.46.4 _ver=${pkgver%.*} pkgdesc="C++ interface for pango" homepage="https://gtkmm.gnome.org/en/index.html" licenses=("LGPL-2.1+") slot=1.4 depends=(cairomm:0 glibmm:2 libsigc++:2 pango) sources=("${pkgname}-${pkgver}.tar.xz") urls=("https://download.gnome.org/sources/${pkgname}/${_ver}/${sources[0]}") sha512sums=("e4e57b835af270af9b98ae3feb25087cb8f8ab9b0028195db3d2dbf48df360de1f92c4e7c9dfba9a80d4a6aa47234b3112eea52586328386bbc0eb0d5cc09856") src_prepare() { tar -xf ${distdir}/${sources[0]} --strip-components=1 } src_build() { local meson_args=( --prefix=/usr --buildtype=release --wrap-mode=nodownload -D python.bytecompile=1 -D maintainer-mode=false -D build-documentation=false ) meson setup build "${meson_args[@]}" meson compile -C build } src_install() { meson install -C build --destdir "$pkgdir" } # vim:ft=sh syn=sh et sw=2: