# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=grantlee-editor pkgver=20.08.2 pkgrel=0 arch="all !ppc64le !s390x !armhf !mips !mips64" # Limited by qt5-qtwebengine url="https://kontact.kde.org/" pkgdesc="Utilities and tools to manage themes in KDE PIM applications " license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev kcrash-dev kdbusaddons-dev kdoctools-dev kxmlgui-dev ktexteditor-dev knewstuff-dev karchive-dev pimcommon-dev messagelib-dev grantleetheme-dev akonadi-mime-dev libkleo-dev kimap-dev kpimtextedit-dev syntax-highlighting-dev qgpgme" source="https://download.kde.org/stable/release-service/$pkgver/src/grantlee-editor-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="99fdee8449f02e922943b14efd116134e7a4ef09c30eb8488d9531facd04556e5a1a7120c3889470dfa1a1354f86376daad1e8fff29027172ef82af668b1baf5 grantlee-editor-20.08.2.tar.xz"