pkgname=kdoctools pkgver=6.1.0 pkgrel=1 pkgdesc="Documentation generation from docbook" arch=('x86_64') url="https://community.kde.org/Frameworks" license=('LGPL-2.0-only' 'LGPL-3.0-only') groups=('kf6') depends=('gcc-libs' 'glibc' 'qt6-qtbase' 'karchive' 'libxml2' 'libxslt') makedepends=('extra-cmake-modules' 'cmake' 'ki18n' 'perl-uri' 'docbook-xml' 'docbook-xsl' 'qt6-qttools') source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(240254adbb52184a571072068bf504bbc3579eb9811983c6a3795563260ef3b5) build() { cd ${pkgname}-${pkgver} cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=libexec \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -DDocBookXSL_DIR=/usr/share/xml/docbook/xsl-stylesheets-nons-1.79.2 \ -Wno-dev -Bbuild cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }