summaryrefslogtreecommitdiff
path: root/community/cppcheck/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cppcheck/PKGBUILD')
-rw-r--r--community/cppcheck/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/cppcheck/PKGBUILD b/community/cppcheck/PKGBUILD
index 40ef9c1f1..10784a1cb 100644
--- a/community/cppcheck/PKGBUILD
+++ b/community/cppcheck/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 106398 2014-03-02 12:48:38Z jelle $
+# $Id: PKGBUILD 110967 2014-05-11 13:00:34Z jelle $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=cppcheck
-pkgver=1.64
+pkgver=1.65
pkgrel=1
pkgdesc="A tool for static C/C++ code analysis"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@ license=('GPL')
depends=('qt5-base')
makedepends=('docbook-xsl' 'qt5-tools')
source=(https://github.com/danmar/cppcheck/archive/${pkgver}.tar.gz)
-sha1sums=('feaa8b3333c20f950a38026461ff407de4ef1ba0')
+sha1sums=('df1ebc45defb24c7f21af64bbf9515cedb5f2d8e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
@@ -23,9 +23,14 @@ build() {
make CFGDIR=/usr/share/cppcheck/cfg
}
+check() {
+ cd "$srcdir"/cppcheck
+ make CFGDIR=/usr/share/cppcheck/cfg test
+}
+
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ make DESTDIR=${pkgdir} CFGDIR=/usr/share/cppcheck/cfg install
install -D -p -m 644 cppcheck.1 "${pkgdir}"/usr/share/man/man1/cppcheck.1