archrelease: copy trunk to extra-x86_64
[arch-packages.git] / extra-cmake-modules / trunk / PKGBUILD
blobba9509ed54a429b6dcb3e425d1b69d3fabb5f7ec
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
6 pkgver=5.88.0
7 pkgrel=1
8 pkgdesc='Extra modules and scripts for CMake'
9 arch=(any)
10 url='https://community.kde.org/Frameworks'
11 license=(LGPL)
12 depends=(cmake)
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')
17 groups=(kf5)
18 source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}
19         ECM-no-init.py.patch)
20 sha256sums=('33bd83908daa531654455b77fc121b598f757aadf8ba01dbacfda8b8fb050319'
21             'SKIP'
22             '5695e45c7621a00c0bca28f058c13b5d524f963a00b53337c8cefcdaf22c4b52')
23 validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure@kde.org>
25 prepare() {
26   patch -d $pkgname-$pkgver -p1 < ECM-no-init.py.patch # Don't create __init__.py
29 build() {
30   cmake -B build -S $pkgname-$pkgver \
31     -DCMAKE_INSTALL_PREFIX=/usr \
32     -DBUILD_HTML_DOCS=ON \
33     -DBUILD_QTHELP_DOCS=ON
34   cmake --build build
37 package() {
38   DESTDIR="$pkgdir" cmake --install build