pkgname=qt6-qtwayland pkgver=6.7.0 pkgrel=1 pkgdesc="Provides APIs for Wayland" arch=('x86_64') url="https://www.qt.io" license=('GPL3' 'LGPL3' 'FDL' 'custom') groups=('qt6') depends=('gcc-libs' 'glibc' 'mesa' 'libxkbcommon' 'qt6-qtbase' 'qt6-qtdeclarative' 'wayland') makedepends=('cmake' 'ninja') source=(https://download.qt.io/archive/qt/${pkgver%.*}/${pkgver}/submodules/${pkgname#*-}-everywhere-src-${pkgver}.tar.xz) sha256sums=(d73470e4217da388d8cd2a517ee8bb373853f33c569306e80f04397845157aea) build() { cd ${pkgname#*-}-everywhere-src-${pkgver} cmake -B flarebird-build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DINSTALL_LIBDIR=lib64 \ -DCMAKE_MESSAGE_LOG_LEVEL=STATUS cmake --build flarebird-build } package() { cd ${pkgname#*-}-everywhere-src-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }