# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=libxml++ pkgver=5.0.2 pkgrel=0 pkgdesc="C++ wrapper for the libxml XML parser library" url="https://libxmlplusplus.sourceforge.net/" arch="all" license="LGPL-2.1-or-later" makedepends=" libxml2-dev meson mm-common python3 " subpackages="$pkgname-dev" source="https://download.gnome.org/sources/libxml++/${pkgver%.[0-9]*}/libxml++-$pkgver.tar.xz" build() { abuild-meson \ -Db_lto=true \ -Dbuild-tests=true \ -Dbuild-examples=false \ -Dbuild-documentation=false \ . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" f0fc0d2e2bc14eeefb9d4a6bec661a2377a60874c877cdddaadadce1d22e5186516a37587fc67ed570858e1871164e30535b779fd2fac12475ef6fdfcc2e3469 libxml++-5.0.2.tar.xz "