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=(libsigc++-3.0 libsigc++-3.0-docs)
9 pkgdesc="Callback Framework for C++"
10 url="https://libsigcplusplus.github.io/libsigcplusplus/"
14 makedepends=(git meson mm-common)
16 _commit=e88e319aa50df010320dd15e7c802f92752dc8dc # tags/3.4.0^0
17 source=("git+https://github.com/libsigcplusplus/libsigcplusplus#commit=$_commit")
22 git describe --tags | sed 's/-/+/g'
30 arch-meson libsigcplusplus build -D maintainer-mode=true
31 meson compile -C build
35 meson test -C build --print-errorlogs
38 package_libsigc++-3.0() {
39 provides=(libsigc-3.0.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_libsigc++-3.0-docs() {
49 pkgdesc+=" (documentation)"
53 mv -t "$pkgdir" docs/*