27 lines
787 B
Bash
27 lines
787 B
Bash
# Template file for 'extra-cmake-modules'
|
|
pkgname=extra-cmake-modules
|
|
version=5.111.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_HTML_DOCS=ON"
|
|
hostmakedepends="python3-Sphinx qt5-tools"
|
|
depends="cmake"
|
|
checkdepends="qt5-declarative-devel"
|
|
short_desc="Extra modules and scripts for CMake"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://invent.kde.org/frameworks/extra-cmake-modules"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=555d3c1dfa6727b4e64a35d3f01724c9fcd6209c2a41f2b2297c39ed7aabea9a
|
|
python_version=3
|
|
|
|
do_check() {
|
|
cd build
|
|
# expects to be in frameworks/extra-cmake-modules instead of extra-cmake-modules
|
|
ctest -E 'KDEFetchTranslations'
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING-CMAKE-SCRIPTS
|
|
}
|