# Contributor: # Maintainer: Bart Ribbers pkgname=attica pkgver=5.64.0 pkgrel=0 pkgdesc="Freedesktop OCS binding for Qt" url="http://www.kde.org/" arch="all" license="LGPL-2.0-or-later" makedepends="qt5-qttools-dev extra-cmake-modules doxygen" subpackages="$pkgname-dev $pkgname-doc" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/attica-$pkgver.tar.xz" prepare() { default_prepare mkdir -p "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="a85f9bf62496b8878e77e40f101ae58371b09731d7be86eab0e5adbc0fac9c076d7f740b2dd4471e03105eadc16fc2de663a69f48caf3f5f96040789e6cd64bb attica-5.64.0.tar.xz"