# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkeduvocdocument pkgver=19.12.1 pkgrel=0 arch="all" url="https://edu.kde.org" pkgdesc="Library to parse, convert, and manipulate KVTML files" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev ki18n-dev karchive-dev kio-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/libkeduvocdocument-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="9bb12f2099c096a9bfa8650698a0f3562008d072c4deb2c1299307c0332ed621b578ddc9786b5fda47db176fd84e64fb2e3469daa54e3354c046ccfedce274c4 libkeduvocdocument-19.12.1.tar.xz"