# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkscreen pkgver=5.12.0 pkgrel=0 pkgdesc='KDE screen management software' arch="all" url='https://www.kde.org/workspaces/plasmadesktop/' license="GPL-2.0" depends="" depends_dev="qt5-qtbase-dev qt5-x11extras-dev kwayland-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev" options="!check" # Fails due to requiring dbus-x11 and it running build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_LIBEXECDIR=lib make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="2a383b0cec520cd92f633fa6e7d67d9004f55303ee65426fd87931d5fbd7ef817b69b621e730c83276657762dbc59d5920f62dd5f8fbd0f3046946b3d60da199 libkscreen-5.12.0.tar.xz"