# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kdoctools pkgver=5.43.0 pkgrel=0 pkgdesc='Documentation generation from docbook' arch="all" url='https://community.kde.org/Frameworks' license="LGPL-2.1" depends="docbook-xsl" depends_dev="qt5-qtbase-dev ki18n-dev karchive-dev libxslt-dev libxml2-dev libxml2-utils docbook-xml docbook-xsl" makedepends="$depends_dev extra-cmake-modules perl-uri" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="af93b4ab7966246b38933eccd02ce2dd02c288e3f582c9b3e14e05aa03293c32ae78c0b3cda6710012faf368de4efab5d06ad3df8e279d1dda967d2860d5e62c kdoctools-5.43.0.tar.xz"