cmake: update to 3.24.1.

This commit is contained in:
Đoàn Trần Công Danh 2022-08-24 08:53:46 +07:00 committed by Đoàn Trần Công Danh
parent 6b860b88a3
commit df604a8835

View file

@ -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 <congdanhqx@gmail.com>"
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' \