1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
5 pkgname=extra-cmake-modules
8 pkgdesc='Extra modules and scripts for CMake'
10 url='https://community.kde.org/Frameworks'
13 makedepends=(python-sphinx python-requests qt5-tools)
14 optdepends=('python-pyxdg: to generate fastlane metadata for Android apps'
15 'python-requests: to generate fastlane metadata for Android apps'
16 'python-yaml: to generate fastlane metadata for Android apps')
18 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}
20 sha256sums=('33bd83908daa531654455b77fc121b598f757aadf8ba01dbacfda8b8fb050319'
22 '5695e45c7621a00c0bca28f058c13b5d524f963a00b53337c8cefcdaf22c4b52')
23 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
26 patch -d $pkgname-$pkgver -p1 < ECM-no-init.py.patch # Don't create __init__.py
30 cmake -B build -S $pkgname-$pkgver \
31 -DCMAKE_INSTALL_PREFIX=/usr \
32 -DBUILD_HTML_DOCS=ON \
33 -DBUILD_QTHELP_DOCS=ON
38 DESTDIR="$pkgdir" cmake --install build