cppcheck: update to 2.11.

This commit is contained in:
Duncaen 2023-06-24 17:36:18 +02:00
parent 6f3586fde3
commit 9f46c8f511
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -1,6 +1,6 @@
# Template file for 'cppcheck'
pkgname=cppcheck
version=2.10.3
version=2.11
revision=1
build_style=cmake
configure_args="
@ -19,7 +19,7 @@ license="GPL-3.0-or-later"
homepage="http://cppcheck.sourceforge.net"
changelog="https://sourceforge.net/p/cppcheck/news/"
distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz"
checksum=8aae5e116daeaaf5d19f3efa61b91c06f161cb97412a1d1af6e1e20686e48967
checksum=ef7d77c16e6903834cc016986a60157918a90958e981863746a7f3147bfb94c6
export CXXFLAGS="-DNDEBUG"
@ -31,6 +31,7 @@ post_extract() {
if [ "$CROSS_BUILD" ]; then
vsed -e '/run-dmake/d' -i test/CMakeLists.txt -i cli/CMakeLists.txt
fi
vsed -e 's/"2.11"/"2.11.0"/' -i cmake/versions.cmake
}
post_install() {