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)
17 _commit=d3874b1ec56d6db6b393e94daa1aded0f94d4b8b # tags/2.76.0^0
18 source=("git+https://gitlab.gnome.org/GNOME/glibmm.git#commit=$_commit")
23 git describe --tags | sed 's/[^-]*-g/r&/;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/*
58 # vim:set sw=2 sts=-1 et: