# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kscreen pkgver=5.12.3 pkgrel=1 pkgdesc="KDE's screen management software" arch="all" url='https://www.kde.org/workspaces/plasmadesktop/' license="GPL-2.0" depends="hicolor-icon-theme" depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev libkscreen-dev kdbusaddons-dev kconfig-dev kconfigwidgets-dev ki18n-dev kxmlgui-dev kauth-dev kcoreaddons-dev kcodecs-dev kwidgetsaddons-dev kglobalaccel-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/plasma/$pkgver/kscreen-$pkgver.tar.xz" subpackages="$pkgname-lang" options="!check" # Fails due to requiring running X11 build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="b3119eb3264ba357c8efd879e92ec0f5fe2dc785228a088434d8f8e9afe72d36edae79bf7cc944657b6fdbe43389df44edcc74704b65f393cf40a68db5c7ff1a kscreen-5.12.3.tar.xz"