# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kapptemplate pkgver=19.08.2 pkgrel=0 arch="all" url="https://kde.org/applications/development/org.kde.kapptemplate" pkgdesc="Factory for the easy creation of KDE/Qt components and programs" license="GPL-2.0-or-lateri AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev kcoreaddons-dev kconfigwidgets-dev kcompletion-dev karchive-dev kio-dev ki18n-dev kdoctools-dev" source="https://download.kde.org/stable/applications/$pkgver/src/kapptemplate-$pkgver.tar.xz" subpackages="$pkgname-doc $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="21d7557a42ee8743fa773f7c40cec28d4677219ac79a6d130930e97bb459505f8077e663aff8db8fcf06976ccb0a4da84e23814c0ba9efdae8c9c7a6ae7c9e47 kapptemplate-19.08.2.tar.xz"