# Template file for 'cppcheck' pkgname=cppcheck version=2.10 revision=1 build_style=gnu-makefile make_build_args=" FILESDIR=/usr/share/cppcheck MATCHCOMPILER=yes HAVE_RULES=yes DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl" make_install_args="${make_build_args}" make_build_target="cppcheck man" python_version="3" hostmakedepends="libxslt docbook-xsl python3 which" makedepends="pcre-devel" depends="python3" short_desc="Static analysis of C/C++ code" maintainer="Duncaen " 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=785dcbf711048dfe43ae920b6eff2eeebb4a096e88188a40e173ca4c030f57c3 export CXXFLAGS="-DNDEBUG" export LDFLAGS="-pthread" post_install() { vman cppcheck.1 }