[arch-commits] Commit in cppcheck/trunk (PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Nov 9 13:08:36 UTC 2014


    Date: Sunday, November 9, 2014 @ 14:08:35
  Author: jelle
Revision: 122276

upgpkg: cppcheck 1.67-2

fix FS#42524

Modified:
  cppcheck/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-09 08:12:13 UTC (rev 122275)
+++ PKGBUILD	2014-11-09 13:08:35 UTC (rev 122276)
@@ -3,7 +3,7 @@
 
 pkgname=cppcheck
 pkgver=1.67
-pkgrel=1
+pkgrel=2
 pkgdesc="A tool for static C/C++ code analysis"
 arch=('i686' 'x86_64')
 url="http://cppcheck.wiki.sourceforge.net/"
@@ -16,8 +16,8 @@
 build() {
    cd "${pkgname}-${pkgver}"
    # Unicode fix
-   LANG='en_US.UTF-8' make SRCDIR=build CFGDIR=/usr/share/cppcheck/cfg
-   make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.78.1/manpages/docbook.xsl man
+   LANG='en_US.UTF-8' make SRCDIR=build CFGDIR=/usr/share/cppcheck/cfg HAVE_RULES=yes
+   make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.78.1/manpages/docbook.xsl CFGDIR=/usr/share/cppcheck/cfg man
 
    cd gui
    qmake HAVE_RULES=yes
@@ -27,12 +27,12 @@
 check() {
    cd "${pkgname}-${pkgver}"
 
-   LANG='en_US.UTF-8' make CFGDIR=./cfg  HAVE_RULES=yes test
+   LANG='en_US.UTF-8' make SRCDIR=build CFGDIR=/usr/share/cppcheck/cfg HAVE_RULES=yes test
 }
 
 package() {
    cd "${pkgname}-${pkgver}"
-   LANG='en_US.UTF-8' make DESTDIR=${pkgdir} SRCDIR=build HAVE_RULES=yes install 
+   LANG='en_US.UTF-8' make DESTDIR=${pkgdir} 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
 


More information about the arch-commits mailing list