# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=extra-cmake-modules pkgver=${_kf6ver} pkgrel=1 pkgdesc='Extra CMake modules' arch=('x86_64') url='https://invent.kde.org/frameworks/extra-cmake-modules' license=('LGPL') depends=('cmake' 'python3') makedepends=('qt6-tools') # 'python3-sphinx' 'python3-requests') 'sphinx_rtd_theme' 'alabaster' sphinx needs many deps, disable) replaces=('extra-cmake-modules6') provides=('extra-cmake-modules6') conflicts=('extra-cmake-modules6') source=("https://download.kde.org/unstable/frameworks/${pkgver}/${pkgname}-${pkgver}.tar.xz") md5sums=(`grep ${pkgname}-$_kf6ver.tar.xz ../kf6.md5 | cut -d" " -f1`) build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_QTHELP_DOCS=OFF \ -DBUILD_MAN_DOCS=OFF \ -DBUILD_HTML_DOCS=OFF \ -DBUILD_TESTING=OFF cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }