# Contributor: k0r10n # Contributor: Ivan Tham pkgname=extra-cmake-modules pkgver=5.39.0 pkgrel=0 pkgdesc="Extra CMake modules" url="https://projects.kde.org/projects/kdesupport/extra-cmake-modules" arch="noarch" license="custom" depends="cmake" makedepends="py-sphinx cmake" subpackages="${pkgname}-doc" source="http://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" builddir="$srcdir"/${pkgname}-${pkgver}/build build() { mkdir -p "$builddir" && cd "$builddir" cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install/fast || return 1 install -Dm644 ../COPYING-CMAKE-SCRIPTS \ "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="c41df32aa6641824b7e69b001997fa61ab4d4df9aa0b850d8eecb0e434836e35f7c928952771cb2c5258117ac318e199659991619f37ad3ff82744ab66071ece extra-cmake-modules-5.39.0.tar.xz"