# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libgravatar pkgver=19.12.0 pkgrel=0 pkgdesc="KDE PIM library providing Gravatar support" arch="all" url="https://kontact.kde.org/" license="LGPL-2.0-or-later" depends_dev="qt5-qtbase-dev ki18n-dev kconfig-dev kwidgetsaddons-dev ktextwidgets-dev kio-dev pimcommon-dev" makedepends="$depends_dev extra-cmake-modules" checkdepends="xvfb-run" source="https://download.kde.org/stable/release-service/$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="5548676a83af8fb38c970d91921e65c6194c672f59b0e64bb135578de0ee9a0ff9aa4881f780348d504554e08827a5eb00677fdd73b9b1e66856d59f26172962 libgravatar-19.12.0.tar.xz"