diff --git a/srcpkgs/cmake/template b/srcpkgs/cmake/template index b19395670af..bb2ea304dbd 100644 --- a/srcpkgs/cmake/template +++ b/srcpkgs/cmake/template @@ -1,6 +1,6 @@ # Template file for 'cmake' pkgname=cmake -version=3.22.2 +version=3.24.1 revision=1 build_style=cmake configure_args="-DCMAKE_DOC_DIR=/share/doc/cmake @@ -16,7 +16,7 @@ maintainer="Đoàn Trần Công Danh " license="BSD-3-Clause, ICU" homepage="https://www.cmake.org" distfiles="https://www.cmake.org/files/v${version%.*}/${pkgname}-${version}.tar.gz" -checksum=3c1c478b9650b107d452c5bd545c72e2fad4e37c09b89a1984b9a2f46df6aced +checksum=4931e277a4db1a805f13baa7013a7757a0cbfe5b7932882925c7061d9d1fa82b replaces="cmake-bootstrap>=0" pre_configure() { @@ -39,6 +39,12 @@ pre_configure() { PATH="${wrksrc}/build/Bootstrap.cmk:$PATH" } +do_check() { + cd build + # https://gitlab.kitware.com/cmake/cmake/-/issues/23885 + ./bin/ctest -E RunCMake.SymlinkTrees +} + post_install() { rm -rf ${DESTDIR}/usr/share/doc/cmake sed -n -e '/Copyright/,/authorization[.]/p' \