# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=grantleetheme pkgver=19.12.3 pkgrel=0 pkgdesc="KDE PIM mail related libraries" arch="all !armhf" url="https://kontact.kde.org/" license="GPL-2.0-or-later AND LGPL-2.1-or-later" makedepends="extra-cmake-modules knewstuff-dev ki18n-dev grantlee-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/release-service/$pkgver/src/grantleetheme-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build # grantleethemetest is broken CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "grantleethemetest" } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="466e5f32189373ae356a95285fbedffeb97ac759a056aa2fcb87068ada3cd30afbbfa2520b4c91fc6ec4a2408e2cb1adeacd1658ee8b4e1714d42ddd4be011a7 grantleetheme-19.12.3.tar.xz"