#!/usr/bin/env bash name='qt6-wayland' release='3' version='6.8.0' url='https://www.qt.io/developers/' description='Provides APIs for Wayland' email='brkt8khn@gmail.com' maintainer='brkt8khn' license=('FDL' 'GPL3' 'LGPL3' 'custom') source=("https://download.qt.io/archive/qt/${version%.*}/${version}/submodules/qtwayland-everywhere-src-${version}.tar.xz") depends=(qt6-base qt6-declarative libXcomposite libxkbcommon) makedepends=(vulkan-headers cmake wayland) sha256sums=('175758591638ebf1c6fbb66ac11c7fa0eb8d4ed52e9243cc59075d06a6a2060a') group=(dev.qt) uses=() arch=('x86_64') cd "qtwayland-everywhere-src-"$version export PATH=/usr/bin/qt6:$PATH setup() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr } build () { cmake --build build } package () { DESTDIR="$DESTDIR" cmake --install build }