mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/cppcheck to 2.0-1
This commit is contained in:
parent
58a223bdc1
commit
22c6076f4f
1 changed files with 7 additions and 4 deletions
|
@ -5,8 +5,8 @@
|
|||
# - remove makedepend on pandoc, don't generate manuals
|
||||
|
||||
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/"
|
||||
|
@ -14,10 +14,11 @@ license=('GPL')
|
|||
depends=('python-pygments' 'tinyxml2')
|
||||
makedepends=('docbook-xsl' 'qt5-tools' 'qt5-base' 'python' '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')
|
||||
|
||||
|
@ -26,6 +27,8 @@ prepare() {
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue