summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Pento2019-11-17 17:35:18 -0500
committerMike Pento2019-11-17 17:35:18 -0500
commit44a0bfed6b831a4b8e30a90ce647bad1efb70aa5 (patch)
treed4f9c6fbb362cbfd30ea788ebc8e8d9a0e63b950
parent4b149901a96b5a02cdcd3cff4f85aeece8f86150 (diff)
downloadaur-44a0bfed6b831a4b8e30a90ce647bad1efb70aa5.tar.gz
Updated to 1.89, updated make command line
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4962dc633db..f5a75d43b66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cppcheck-nox
pkgdesc = A tool for static C/C++ code analysis without the GUI
- pkgver = 1.88
- pkgrel = 2
+ pkgver = 1.89
+ pkgrel = 1
url = http://cppcheck.sourceforge.net/
arch = i686
arch = x86_64
@@ -11,8 +11,8 @@ pkgbase = cppcheck-nox
depends = pcre
provides = cppcheck
conflicts = cppcheck
- source = https://github.com/danmar/cppcheck/archive/1.88.tar.gz
- md5sums = 0fc4c8180cacc07917b752ddd26954ea
+ source = https://github.com/danmar/cppcheck/archive/1.89.tar.gz
+ md5sums = 3bc61e54f13639c60a3fc698edb18d61
pkgname = cppcheck-nox
diff --git a/PKGBUILD b/PKGBUILD
index d6ec0629fa7..8fcafe9d868 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
pkgname=cppcheck-nox
_pkgname=cppcheck
-pkgver=1.88
-pkgrel=2
+pkgver=1.89
+pkgrel=1
pkgdesc="A tool for static C/C++ code analysis without the GUI"
arch=('i686' 'x86_64')
url="http://cppcheck.sourceforge.net/"
@@ -13,18 +13,18 @@ makedepends=('docbook-xsl')
provides=('cppcheck')
conflicts=('cppcheck')
source=(https://github.com/danmar/cppcheck/archive/${pkgver}.tar.gz)
-md5sums=('0fc4c8180cacc07917b752ddd26954ea')
+md5sums=('3bc61e54f13639c60a3fc698edb18d61')
build() {
cd "${_pkgname}-${pkgver}"
- LANG='en_US.UTF-8' make SRCDIR=build CFGDIR=/usr/share/cppcheck/cfg HAVE_RULES=yes
+ LANG='en_US.UTF-8' make MATCHCOMPILER=yes SRCDIR=build CFGDIR=/usr/share/cppcheck/cfg HAVE_RULES=yes CXXFLAGS="-O2 -DNDEBUG -Wall -Wno-sign-compare -Wno-unused-function"
make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.79.2/manpages/docbook.xsl CFGDIR=/usr/share/cppcheck/cfg man
}
package() {
cd "${_pkgname}-${pkgver}"
- LANG='en_US.UTF-8' make DESTDIR=${pkgdir} CFGDIR=/usr/share/cppcheck/cfg SRCDIR=build HAVE_RULES=yes install
+ LANG='en_US.UTF-8' make MATCHCOMPILER=yes DESTDIR=${pkgdir} FILESDIR=/usr/share/cppcheck CFGDIR=/usr/share/cppcheck/cfg SRCDIR=build HAVE_RULES=yes install
install -D -p -m 644 cppcheck.1 "${pkgdir}"/usr/share/man/man1/cppcheck.1