pkgname=kidletime pkgver=6.1.0 pkgrel=1 pkgdesc="Monitoring user activity" arch=('x86_64') url="https://community.kde.org/Frameworks" license=('LGPL-2.0-only' 'LGPL-3.0-only') groups=('kf6') depends=('gcc-libs' 'glibc' 'qt6-qtbase') makedepends=('extra-cmake-modules' 'cmake' 'libxscrnsaver' 'plasma-wayland-protocols' 'wayland-protocols' 'qt6-qttools' 'qt6-qtwayland') source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz) sha256sums=(c8d85c129fd2e9520bec3aa9670449b4ea2cf092060a54fdb24cba63475faf3a) build() { cd ${pkgname}-${pkgver} cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=libexec \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -Wno-dev -Bbuild cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }