1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Kevin <kevin@archlinux.org>
3 # Contributor: criminy <criminy@gmail.com>
6 pkgname=(cairomm cairomm-docs)
9 pkgdesc="C++ bindings for Cairo"
10 url="https://www.cairographics.org/cairomm/"
13 depends=(cairo libsigc++)
14 makedepends=(git meson mm-common)
16 _commit=77a0bac11cc16c66d5292bb2546c1dca3525c918 # tags/1.14.3^0
17 source=("git+https://gitlab.freedesktop.org/cairo/cairomm.git#commit=$_commit")
22 git describe --tags | sed 's/-/+/g'
30 arch-meson cairomm build -D maintainer-mode=true
31 meson compile -C build
35 meson test -C build --print-errorlogs
39 depends+=(libsigc-2.0.so)
40 provides=(libcairomm-1.0.so)
42 meson install -C build --destdir "$pkgdir"
45 mkdir -p docs/usr/share
46 mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
49 package_cairomm-docs() {
50 pkgdesc+=" (documentation)"
54 mv -t "$pkgdir" docs/*