mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/cppcheck to 2.4.1-2
This commit is contained in:
parent
0e64d719fe
commit
a0f23f4db2
1 changed files with 7 additions and 4 deletions
|
@ -6,24 +6,27 @@
|
||||||
|
|
||||||
pkgname=cppcheck
|
pkgname=cppcheck
|
||||||
pkgver=2.4.1
|
pkgver=2.4.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="A tool for static C/C++ code analysis"
|
pkgdesc="A tool for static C/C++ code analysis"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://cppcheck.sourceforge.net/"
|
url="http://cppcheck.sourceforge.net/"
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('python-pygments' 'tinyxml2')
|
depends=('python-pygments' 'tinyxml2')
|
||||||
makedepends=('docbook-xsl' 'qt5-tools' 'qt5-base' 'python' 'cmake' 'clang')
|
makedepends=('docbook-xsl' 'qt5-tools' 'qt5-base' 'python' 'cmake' 'clang')
|
||||||
optdepends=('qt5-base: run cppcheck-gui'
|
optdepends=('qt5-tools: run cppcheck-gui'
|
||||||
'python-pygments: cppcheck-htmlreport'
|
'python-pygments: cppcheck-htmlreport'
|
||||||
'clang: for cppcheck-gui integration')
|
'clang: for cppcheck-gui integration')
|
||||||
source=($pkgname-$pkgver.tar.gz::https://github.com/danmar/cppcheck/archive/${pkgver}.tar.gz
|
source=($pkgname-$pkgver.tar.gz::https://github.com/danmar/cppcheck/archive/${pkgver}.tar.gz
|
||||||
translations-location.patch)
|
translations-location.patch
|
||||||
|
https://github.com/danmar/cppcheck/commit/8d682884.patch)
|
||||||
sha1sums=('b2b19fa617aa4f2bd67609a15ba1f737909dbf66'
|
sha1sums=('b2b19fa617aa4f2bd67609a15ba1f737909dbf66'
|
||||||
'03b0888438cf92ccdcbf307dbc3c35e65c91b844')
|
'03b0888438cf92ccdcbf307dbc3c35e65c91b844'
|
||||||
|
'7846c2e482320c2f6f9352dc134fdf0ad39faec8')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${pkgname}-${pkgver}"
|
cd "${pkgname}-${pkgver}"
|
||||||
patch -Np1 -i $srcdir/translations-location.patch
|
patch -Np1 -i $srcdir/translations-location.patch
|
||||||
|
patch -p1 < ../8d682884.patch # Fix build with GCC 11
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue