# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kidletime pkgver=5.55.0 pkgrel=0 pkgdesc="Monitoring user activity" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1" depends_dev="qt5-qtx11extras-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cd "$builddir" cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="7735a2b53c44ef6cdf988e450219fb5e9c6065e592b652a15e57275251db4c4fa9c32d587e853a07ed7a0a3bd8c6064c0ac4351f26fa03068bcb363c5fc4952a kidletime-5.55.0.tar.xz"