# Maintainer: Jesus E. pkgname=mm-common pkgver=1.0.2 pkgrel=1 pkgdesc="Common build files of the C++ bindings" url="https://www.gtkmm.org/" arch=(any) depends=(graphviz doxygen perl-xml-parser) makedepends=(libsigc++ meson) license=(GPL-2) source=(https://download.gnome.org/sources/mm-common/${pkgver:0:3}/$pkgname-$pkgver.tar.xz) sha512sums=('106f3aae8bb836386148098037c52fef19c3779f5e8cfbafcbe52eca17340a6e2fb7e5c57154cc0a90b75c0bb23900a4274591a71d85f81391be780c53238de0') build() { hyperbola-meson $pkgname-$pkgver build ninja -C build } check() { meson test -C build --print-errorlogs } package() { DESTDIR="$pkgdir" meson install -C build install -Dm644 $srcdir/$pkgname-$pkgver/COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING } # vim:set ts=2 sw=2 et: