mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +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
|
||||
pkgver=2.4.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A tool for static C/C++ code analysis"
|
||||
arch=('x86_64')
|
||||
url="http://cppcheck.sourceforge.net/"
|
||||
license=('GPL')
|
||||
depends=('python-pygments' 'tinyxml2')
|
||||
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'
|
||||
'clang: for cppcheck-gui integration')
|
||||
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'
|
||||
'03b0888438cf92ccdcbf307dbc3c35e65c91b844')
|
||||
'03b0888438cf92ccdcbf307dbc3c35e65c91b844'
|
||||
'7846c2e482320c2f6f9352dc134fdf0ad39faec8')
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
patch -Np1 -i $srcdir/translations-location.patch
|
||||
patch -p1 < ../8d682884.patch # Fix build with GCC 11
|
||||
|
||||
mkdir build
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue