pkgname=extra-cmake-modules pkgver=5.37.0 pkgrel=1 pkgdesc="Extra CMake modules" url="https://projects.kde.org/projects/kdesupport/extra-cmake-modules" arch="noarch" license="custom" depends="cmake" makedepends="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 make } package() { cd "$builddir" make DESTDIR="$pkgdir" install/fast install -Dm644 ../COPYING-CMAKE-SCRIPTS \ "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums="eb064dcf03960913c41c61dcb02ed12fa1b83abe507f9b161770bae8fe32b74dee45a29b12af26e636e896b97b17221adf67ea8465fcc9ab319b4ee55ab4f8bf extra-cmake-modules-5.37.0.tar.xz"