# Contributor: k0r10n # Contributor: Ivan Tham pkgname=extra-cmake-modules pkgver=5.45.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="d33e22ab08e16c3d8de3f7fc26fbc36a6940fb2d4387cf2b0ce4443fbc34e6dbbdfe2019bc31fc3b0005c582ef487ce97c02f3e7e2361f43676092ef846e9b68 extra-cmake-modules-5.45.0.tar.xz"