pkgname=qt6-qtwebchannel pkgver=6.7.0 pkgrel=1 pkgdesc="Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients" arch=('x86_64') url="https://www.qt.io" license=('GPL3' 'LGPL3' 'FDL' 'custom') groups=('qt6') depends=('gcc-libs' 'glibc' 'qt6-qtbase' 'qt6-qtdeclarative') makedepends=('cmake' 'ninja') source=(https://download.qt.io/archive/qt/${pkgver%.*}/${pkgver}/submodules/${pkgname#*-}-everywhere-src-${pkgver}.tar.xz) sha256sums=(26bfbd404e0c82bfbeeaef81796eb7a7cf931c5c1a5e942a315ca7126322efff) 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 }