1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
5 pkgname=(atkmm-2.36 atkmm-2.36-docs)
8 pkgdesc="C++ bindings for ATK"
9 url="https://www.gtkmm.org/"
12 depends=(atk glibmm-2.68)
13 makedepends=(git meson mm-common glibmm-2.68-docs)
15 _commit=4829d5f55c02b8a72e261c4ee097082693792e5d # tags/2.36.2^0
16 source=("git+https://gitlab.gnome.org/GNOME/atkmm.git#commit=$_commit")
21 git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
29 arch-meson atkmm build -D maintainer-mode=true
30 meson compile -C build
34 meson test -C build --print-errorlogs
37 package_atkmm-2.36() {
38 depends+=(libsigc-3.0.so libglibmm-2.68.so)
39 provides=(libatkmm-2.36.so)
41 meson install -C build --destdir "$pkgdir"
44 mkdir -p docs/usr/share
45 mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
48 package_atkmm-2.36-docs() {
49 pkgdesc+=" (documentation)"
53 mv -t "$pkgdir" docs/*