pkgname=qt6-qtwebsockets pkgver=6.7.0 pkgrel=1 pkgdesc="Provides WebSocket communication compliant with RFC 6455" arch=('x86_64') url="https://www.qt.io" license=('GPL3' 'LGPL3' 'FDL' 'custom') groups=('qt6') depends=('gcc-libs' 'glibc' 'qt6-qtbase') makedepends=('cmake' 'ninja' 'qt6-qtdeclarative') source=(https://download.qt.io/archive/qt/${pkgver%.*}/${pkgver}/submodules/${pkgname#*-}-everywhere-src-${pkgver}.tar.xz) sha256sums=(5ffc77da6b36cdf18e04c975a0fbf243968806a93a6291bcd2e9cd0b26139736) 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 }