summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Kundt2016-01-22 16:08:20 +0100
committerMarco Kundt2016-01-22 16:08:20 +0100
commit44708b4e209d7b27bf29310e5f46a0395b95d82b (patch)
tree76599731e86189c129d14a040dd1d8f146d9a878
parent72c7b0cc4ab30b186ff20d43c5bcd494cac86208 (diff)
downloadaur-44708b4e209d7b27bf29310e5f46a0395b95d82b.tar.gz
upgpkg: cppcheck-nox 1.72-1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD27
2 files changed, 17 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0ccf365f592..d983a2acaf7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Dec 6 00:56:05 UTC 2015
+# Fri Jan 22 15:07:25 UTC 2016
pkgbase = cppcheck-nox
pkgdesc = A tool for static C/C++ code analysis without the GUI
- pkgver = 1.71
+ pkgver = 1.72
pkgrel = 1
url = http://cppcheck.wiki.sourceforge.net/
arch = i686
@@ -12,8 +12,8 @@ pkgbase = cppcheck-nox
makedepends = python
depends = python-pygments
optdepends = pcre: searching regex with cppcheck
- source = https://github.com/danmar/cppcheck/archive/1.71.tar.gz
- sha256sums = 49f8d44516a1534eb01e3cc8300d60c3577c5e4339336defaf213d08ff914f1b
+ source = https://github.com/danmar/cppcheck/archive/1.72.tar.gz
+ sha256sums = c718949e1ec22a8a0dca7e2953a55c502ef65e53ff9922fb91759388618faa7f
pkgname = cppcheck-nox
diff --git a/PKGBUILD b/PKGBUILD
index b1b3f8e19a3..9ce606e8c2f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=cppcheck-nox
_pkgname=cppcheck
-pkgver=1.71
+pkgver=1.72
pkgrel=1
pkgdesc="A tool for static C/C++ code analysis without the GUI"
arch=('i686' 'x86_64')
@@ -12,27 +12,26 @@ depends=('python-pygments')
makedepends=('docbook-xsl' 'python')
optdepends=('pcre: searching regex with cppcheck')
source=(https://github.com/danmar/cppcheck/archive/${pkgver}.tar.gz)
-sha256sums=('49f8d44516a1534eb01e3cc8300d60c3577c5e4339336defaf213d08ff914f1b')
+sha256sums=('c718949e1ec22a8a0dca7e2953a55c502ef65e53ff9922fb91759388618faa7f')
build() {
- cd "${_pkgname}-${pkgver}"
- # Unicode fix
- 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 "${_pkgname}-${pkgver}"
+ # Unicode fix
+ 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.79.1/manpages/docbook.xsl CFGDIR=/usr/share/cppcheck/cfg man
}
check() {
- cd "${_pkgname}-${pkgver}"
-
-# LANG='en_US.UTF-8' make SRCDIR=build CFGDIR=/usr/share/cppcheck/cfg HAVE_RULES=yes test
+ cd "${_pkgname}-${pkgver}"
+ # 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} CFGDIR=/usr/share/cppcheck/cfg SRCDIR=build HAVE_RULES=yes install
+ cd "${_pkgname}-${pkgver}"
+ 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
+ install -D -p -m 644 cppcheck.1 "${pkgdir}"/usr/share/man/man1/cppcheck.1
- install -d "${pkgdir}"/usr/share/cppcheck/cfg
- install -D ./cfg/* -t "${pkgdir}"/usr/share/cppcheck/cfg
+ install -d "${pkgdir}"/usr/share/cppcheck/cfg
+ install -D ./cfg/* -t "${pkgdir}"/usr/share/cppcheck/cfg
}