1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
6 pkgname=(glibmm-2.68 glibmm-2.68-docs)
9 pkgdesc="C++ bindings for GLib"
10 url="https://www.gtkmm.org/"
13 depends=(glib2 libsigc++-3.0)
14 makedepends=(git meson mm-common perl-xml-parser clang)
15 checkdepends=(glib-networking)
16 options=(!emptydirs debug)
17 _commit=9b50d0c719b19461719fbc97d27055b82091a482 # tags/2.72.1^0
18 source=("git+https://gitlab.gnome.org/GNOME/glibmm.git#commit=$_commit")
23 git describe --tags | sed 's/-/+/g'
31 arch-meson glibmm build -D maintainer-mode=true
32 meson compile -C build
36 meson test -C build --print-errorlogs
39 package_glibmm-2.68() {
40 depends+=(libsigc-3.0.so)
41 provides=(libglibmm-2.68.so)
43 meson install -C build --destdir "$pkgdir"
46 mkdir -p docs/usr/share
47 mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
50 package_glibmm-2.68-docs() {
51 pkgdesc+=" (documentation)"
55 mv -t "$pkgdir" docs/*