cppcheck: update to 1.89.

This commit is contained in:
Duncaen 2019-09-02 13:56:02 +02:00
parent a34be432f4
commit fa894e6b36
1 changed files with 14 additions and 13 deletions

View File

@ -1,24 +1,25 @@
# Template file for 'cppcheck'
pkgname=cppcheck
version=1.88
version=1.89
revision=1
hostmakedepends="libxslt docbook-xsl"
depends="python"
build_style=gnu-makefile
make_build_args="
FILESDIR=/usr/share/cppcheck
MATCHCOMPILER=yes
DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl"
make_install_args="
FILESDIR=/usr/share/cppcheck"
make_build_target="cppcheck man"
python_version="3"
hostmakedepends="libxslt docbook-xsl python3"
depends="python3"
short_desc="Static analysis of C/C++ code"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://cppcheck.sourceforge.net"
distfiles="https://github.com/danmar/cppcheck/archive/${version}.tar.gz"
checksum=4aace0420d6aaa900b84b3329c5173c2294e251d2e24d8cba6e38254333dde3f
checksum=37452d378825c7bd78116b4d7073df795fa732207d371ad5348287f811755783
do_build() {
make ${makejobs} CFGDIR=/usr/share/cppcheck/cfg
make ${makejobs} DB2MAN=/usr/share/xsl/docbook/manpages/docbook.xsl all man
}
do_install() {
make DESTDIR=${DESTDIR} CFGDIR=/usr/share/cppcheck/cfg install
post_install() {
vman cppcheck.1
vmkdir usr/share/${pkgname}
vcopy cfg/ usr/share/${pkgname}/cfg
}