1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
5 pkgname=(atkmm atkmm-docs)
8 pkgdesc="C++ bindings for ATK"
9 url="https://www.gtkmm.org/"
13 makedepends=(git meson mm-common glibmm-docs)
15 _commit=9d32ab6180abaee57f6dd8fc9ea094563e802bb7 # tags/2.28.2^0
16 source=("git+https://gitlab.gnome.org/GNOME/atkmm.git#commit=$_commit")
21 git describe --tags | sed 's/-/+/g'
29 arch-meson atkmm build -D maintainer-mode=true
30 meson compile -C build
34 meson test -C build --print-errorlogs
38 depends+=(libsigc-2.0.so libglibmm-2.4.so)
39 provides=(libatkmm-1.6.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-docs() {
49 pkgdesc+=" (documentation)"
53 mv -t "$pkgdir" docs/*