# Contributor: k0r10n # Contributor: Ivan Tham pkgname=extra-cmake-modules pkgver=5.44.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="02b9dd0bc2a90b6f1973a9914b1f40a331fdaed0f004a732eb197e6ba5266b78bcb51ede3dab042c86c2db76c61bf8b9e8ccf71be27a5dbdaeed4c4fb0a365c9 extra-cmake-modules-5.44.0.tar.xz"