[arch-commits] Commit in cppcheck/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Sat Feb 5 20:26:00 UTC 2022
Date: Saturday, February 5, 2022 @ 20:25:59
Author: grawlinson
Revision: 1126883
upgpkg: cppcheck 2.7-1
* New upstream release.
* Temporarily disable tests due to FTBFS.
* Enable debug package.
Modified:
cppcheck/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-05 20:20:05 UTC (rev 1126882)
+++ PKGBUILD 2022-02-05 20:25:59 UTC (rev 1126883)
@@ -3,7 +3,7 @@
# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
pkgname=cppcheck
-pkgver=2.6.3
+pkgver=2.7
pkgrel=1
pkgdesc="A tool for static C/C++ code analysis"
arch=('x86_64')
@@ -28,7 +28,8 @@
'python-pygments: cppcheck-htmlreport'
'clang: for cppcheck-gui integration'
)
-_commit='3e518e64d0f1fb1e8b71f2d0e8c07d36e31d0ffc'
+options=('debug')
+_commit='6ba6567ad897d56741159f8af90fc354ae050e61'
source=(
"$pkgname::git+https://github.com/danmar/cppcheck.git#commit=$_commit"
'translations-location.patch'
@@ -63,12 +64,12 @@
-B build \
-S "$pkgname" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DUSE_MATCHCOMPILER=yes \
-DHAVE_RULES=yes \
-DBUILD_GUI=yes \
-DBUILD_SHARED_LIBS=no \
- -DBUILD_TESTS=yes \
+ -DBUILD_TESTS=no \
-DFILESDIR=/usr/share/cppcheck \
-DUSE_BUNDLED_TINYXML2=no
@@ -75,12 +76,11 @@
cmake --build build
}
+#check() {
+# cd build/bin
+# ./testrunner -g -q
+#}
-check() {
- cd build/bin
- ./testrunner -g -q
-}
-
package() {
DESTDIR="$pkgdir" cmake --install build
More information about the arch-commits
mailing list