[arch-commits] Commit in cppcheck/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Mon May 11 20:36:14 UTC 2020


    Date: Monday, May 11, 2020 @ 20:36:01
  Author: jelle
Revision: 626471

upgpkg: cppcheck 2.0-1

Update

Modified:
  cppcheck/trunk/PKGBUILD

----------+
 PKGBUILD |   11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-11 20:35:52 UTC (rev 626470)
+++ PKGBUILD	2020-05-11 20:36:01 UTC (rev 626471)
@@ -2,8 +2,8 @@
 # Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
 
 pkgname=cppcheck
-pkgver=1.90
-pkgrel=2
+pkgver=2.0
+pkgrel=1
 pkgdesc="A tool for static C/C++ code analysis"
 arch=('x86_64')
 url="http://cppcheck.sourceforge.net/"
@@ -11,10 +11,11 @@
 depends=('python-pygments' 'tinyxml2')
 makedepends=('docbook-xsl' 'qt5-tools' 'qt5-base' 'python' 'pandoc' 'cmake')
 optdepends=('qt5-base: run cppcheck-gui'
-            'python-pygments: cppcheck-htmlreport')
+            'python-pygments: cppcheck-htmlreport'
+            'clang-tidy: for cppcheck-gui integration')
 source=($pkgname-$pkgver.tar.gz::https://github.com/danmar/cppcheck/archive/${pkgver}.tar.gz
         translations-location.patch cppcheck-1.90-tinyxml.patch)
-sha1sums=('852d69a60b6caf023a3420943ebdc29e99fd0349'
+sha1sums=('a6e5bdba6a453d5931a9e8ff2e2122255402dcb3'
           '03b0888438cf92ccdcbf307dbc3c35e65c91b844'
           '12d885e1b0a0a899faa190182a9ad5a8e53476a5')
 
@@ -23,6 +24,8 @@
    patch -Np1 -i $srcdir/translations-location.patch
    patch -Np1 -i $srcdir/cppcheck-1.90-tinyxml.patch
 
+   sed -i 's/2.0/2.0.0/' cmake/versions.cmake
+
    # Make sure bundled tinyxml is not used
    rm -r externals/tinyxml
 



More information about the arch-commits mailing list