# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=pimcommon pkgver=19.08.0 pkgrel=0 pkgdesc="Common lib for KDEPim" arch="all" url='https://community.kde.org/KDE_PIM' license="GPL-2.0-or-later" depends_dev="qt5-qtbase-dev karchive-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev ki18n-dev kiconthemes-dev kitemmodels-dev kjobwidgets-dev kio-dev knewstuff-dev kservice-dev kwidgetsaddons-dev kxmlgui-dev akonadi-dev akonadi-contacts-dev kcontacts-dev kimap-dev libkdepim-dev kpimtextedit-dev purpose-dev kmime-dev" makedepends="$depends_dev extra-cmake-modules kdesignerplugin-dev kdesignerplugin qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$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 xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="aeb8082f41c1ebdf8f649a03e97d777b5e8f2c1f3dab0ca7d8c70ade4356ab47c2d47debec451320d895fa1ae6059e3b160fe293af27502104d9ec1769df8469 pimcommon-19.08.0.tar.xz"