# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=attica-qt pkgver=5.47.0 pkgrel=0 arch="all" pkgdesc='Qt5 library that implements the Open Collaboration Services API' url='https://community.kde.org/Frameworks' license="LGPL-2.1" depends="" depends_dev="qt5-qtbase-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/attica-${pkgver}.tar.xz" subpackages="$pkgname-dev $pkgname-doc" builddir="$srcdir/${pkgname/-qt/}-$pkgver" 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="723b23912f451a2b8f6ac438328d890358367ae8f79d4d57cc59f2c3e227b1763e318402f8fae6275e70b3a1603ab98d45b4d1c76b2f37eec30f79cc4b8a8c15 attica-5.47.0.tar.xz"