# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libkscreen pkgver=5.13.5 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-qtx11extras-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="1089eba583490807e87ea02e33e63c89b750585f0c612bc70517b36e88779dc4a3a8d300d4295735967ee04689a7a9361910c67f3f3d5cb2511304e9e05657d2 libkscreen-5.13.5.tar.xz"