pkgname=libkscreen pkgver=6.0.4 pkgrel=1 pkgdesc="KDE screen management software" arch=('x86_64') url="https://kde.org/plasma-desktop" license=('LGPL-2.0-or-later') groups=('plasma') depends=('gcc-libs' 'glibc' 'libxcb' 'qt6-qtbase' 'qt6-qtwayland' 'wayland') makedepends=('extra-cmake-modules' 'cmake' 'ninja' 'plasma-wayland-protocols' 'qt6-qttools') source=(https://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(406928da2b03f25e6ab7c8e4405e8fb67e126078919d8286fa47f3689fb5ab57) build() { cd ${pkgname}-${pkgver} cmake -G Ninja -B flarebird-build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=libexec \ -DKDE_INSTALL_LIBDIR=lib64 \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_QT5=OFF \ -DBUILD_TESTING=OFF \ -Wno-dev cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }