# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkgapi pkgver=18.12.0 pkgrel=0 pkgdesc='LibKGAPI is a KDE-based library for accessing various Google services via their public API' arch="all" url='https://community.kde.org/KDE_PIM' license="LGPL-2.1" depends="" depends_dev="qt5-qtbase-dev qt5-qtwebengine-dev kio-dev kwindowsystem-dev kwallet-dev kcalcore-dev kcontacts-dev cyrus-sasl-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev" options="!check" # Broken build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="1567d25103a120c4639926317d68f8f119fda4c003d896a47f834a0628dce0a61e64f70073976e3da2ae8abb714081aae13e882ceb3150d23b1b763d094296bf libkgapi-18.12.0.tar.xz"