community/cppcheck: upgrade to 1.83, clarify license

This commit is contained in:
prspkt 2018-04-02 19:17:54 +00:00 committed by Timo Teräs
parent c9ebeb6cfa
commit a8e0cc4ca9
2 changed files with 8 additions and 8 deletions

View File

@ -1,12 +1,12 @@
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=cppcheck
pkgver=1.82
pkgver=1.83
pkgrel=0
pkgdesc="A static analysis tool for C/C++ code"
pkgdesc="Static analysis tool for C/C++ code"
url="http://cppcheck.sourceforge.net"
arch="all"
license="GPL-3.0"
license="GPL-3.0-or-later"
depends=""
makedepends="docbook-xsl pcre-dev qt5-qttools-dev"
subpackages="$pkgname-doc $pkgname-htmlreport::noarch $pkgname-gui"
@ -36,7 +36,7 @@ package() {
}
htmlreport() {
pkgdesc="A utility to generate a html report of a XML file produced by cppcheck"
pkgdesc="Utility to generate a html report of a XML file produced by cppcheck"
depends="$pkgname py-pygments"
cd "$builddir"
@ -45,7 +45,7 @@ htmlreport() {
}
gui() {
pkgdesc="A Qt gui for cppcheck"
pkgdesc="Qt gui for cppcheck"
depends="$pkgname"
cd "$builddir"
@ -56,5 +56,5 @@ gui() {
mv gui/cppcheck*.qm "$subpkgdir"/usr/share/cppcheck/lang/
}
sha512sums="fe295b35cd8da3acbdd472f391a84dbd2aa74be7fcffeb30824f127760bac207ae8795e991e2f7772f532501b785144edbad8d2b17f46b590e0ebeebb697b221 cppcheck-1.82.tar.gz
76f0699273347068b562d001cf6701ef3180506d21bd9298a6b1f2e522ea3c32b1cc350128a2c0b8d69b89aa3c0992b04e9d641ae170b51e3073acb3c6ca7b6e set_datadir.patch"
sha512sums="5b8ac1f2682876e5c91899397bcc2fdcd4d1efff759cedf9480d0a055b5cee28d1ab3a02ba742847a05262ad22153058caded94d9287af8f5816178897941909 cppcheck-1.83.tar.gz
013e3d1bb49602ac0bf39335d5b4df001aa98e1ad9689207063460edc30a4cd7b67f5e880bd0bcae0c03e5724a8bdd0cb5c8cafcb89a815dab24b2ead2923f36 set_datadir.patch"

View File

@ -1,6 +1,6 @@
--- cppcheck-1.73-origin/gui/main.cpp
+++ cppcheck-1.73/gui/main.cpp
@@ -57,12 +57,18 @@
@@ -62,12 +57,18 @@
QSettings* settings = new QSettings("Cppcheck", "Cppcheck-GUI", &app);
// Set data dir..