# Contributor: Leo # Maintainer: Natanael Copa pkgname=libsigc++ pkgver=2.12.0 pkgrel=0 pkgdesc="type-safe Signal Framework for C++" url="https://github.com/libsigcplusplus/libsigcplusplus" arch="all" license="LGPL-3.0-or-later" makedepends="meson docbook-xsl perl doxygen graphviz libxslt" subpackages="$pkgname-dev $pkgname-doc" source="https://download.gnome.org/sources/libsigc++/${pkgver%.*}/libsigc++-$pkgver.tar.xz" build() { abuild-meson \ -Db_lto=true \ -Dbuild-documentation=true \ . output meson compile ${JOBS:+-j ${JOBS}} -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } doc() { default_doc mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share rmdir "$pkgdir"/usr/share } sha512sums=" 88e382e274a574a4b6129e23916054642e1696c663a4bb84f05e14a401f0cb56d0a0bf8c3a6273aec36ce121ce18a338b6d491fb213bcdf5a627bd382719e021 libsigc++-2.12.0.tar.xz "