makedepends=(cmake qt6-declarative qt6-websockets)

description="C++ Coroutines for Qt"
url="https://github.com/danvratil/qcoro"

packager="Great-OS Team"
maintainer="Great-OS Team"

name="qcoro"
version="0.11.0"
release=1

source=(https://github.com/danvratil/qcoro/archive/v$version/qcoro-qt5-$version.tar.gz)

build() { 
  cmake -B build6 -S $name-$version -DCMAKE_INSTALL_PREFIX=/usr -DUSE_QT_VERSION=6 -DBUILD_SHARED_LIBS=ON
  cmake --build build6
  DESTDIR="$PKG" cmake --install build6
}
