# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=poxml pkgver=19.12.2 pkgrel=1 arch="all !armhf" url="https://www.kde.org/applications/development/" pkgdesc="Translates DocBook XML files using gettext po files" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools-dev gettext-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-doc" build() { cmake \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="6eef7f69ffd92ba59988c62876e1ca53c10a08f2821ea159e37b5798088a7406be69f463434d41b705aa14b78a147490e185c8510728d8a2a2ed223c230f9626 poxml-19.12.2.tar.xz"