pkgname=layer-shell-qt pkgver=6.0.4 pkgrel=1 pkgdesc="Qt component to allow applications to make use of the Wayland wl-layer-shell protocol" arch=('x86_64') url="https://kde.org/plasma-desktop" license=('GPL-2.0-or-later' 'LGPL-2.0-or-later') groups=('plasma') depends=('gcc-libs' 'glibc' 'qt6-qtbase' 'qt6-qtwayland' 'wayland') makedepends=('extra-cmake-modules' 'cmake' 'ninja' 'wayland-protocols') source=(https://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(432c8866307ce1ba14c3cfda5ac7976fe5e09e45a4fa0b35cc96e467e94b0626) 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 }