name='extra-cmake-modules' version='6.7.0' release='1' desc='Extra modules and scripts for CMake' homepage='https://community.kde.org/Frameworks' maintainer_ru='Евгений Храмов ' architectures=('all') license=('LGPL') deps=( 'cmake' ) build_deps=( 'python3-requests' 'python3-sphinx' 'qt6-qttools' ) sources=("https://download.kde.org/stable/frameworks/${version%.*}/$name-$version.tar.xz") checksums=('SKIP') build() { cmake -B build -S $name-$version \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_HTML_DOCS=ON \ -DBUILD_QTHELP_DOCS=ON cmake --build build -j$(($(nproc) - 1)) } package() { DESTDIR="$pkgdir" cmake --install build }