summaryrefslogtreecommitdiff
path: root/community/cppcheck
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-07 00:02:03 +0000
committerroot <root@rshg054.dnsready.net>2012-07-07 00:02:03 +0000
commitb7c6c9c7844914d1d0617a24b9e3a84d691d1f64 (patch)
treee83e42e7aa3b5f01bbd1a22f539aa807e586e04b /community/cppcheck
parentce1cc063cc56f59a630e758c92a9f8ac67a24c32 (diff)
Sat Jul 7 00:02:03 UTC 2012
Diffstat (limited to 'community/cppcheck')
-rw-r--r--community/cppcheck/PKGBUILD20
1 files changed, 14 insertions, 6 deletions
diff --git a/community/cppcheck/PKGBUILD b/community/cppcheck/PKGBUILD
index 67c869c37..17e3322bb 100644
--- a/community/cppcheck/PKGBUILD
+++ b/community/cppcheck/PKGBUILD
@@ -1,26 +1,34 @@
-# $Id: PKGBUILD 69536 2012-04-18 02:12:09Z stephane $
+# $Id: PKGBUILD 73296 2012-07-05 20:48:55Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=cppcheck
-pkgver=1.54
+pkgver=1.55
pkgrel=1
pkgdesc="A tool for static C/C++ code analysis"
arch=('i686' 'x86_64')
url="http://cppcheck.wiki.sourceforge.net/"
license=('GPL')
-depends=('pcre')
+depends=('pcre' 'qt')
makedepends=('docbook-xsl')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('f63abbd9bda7179c3ce3a399123bd7fb476e4537')
+sha1sums=('0e6f797ced959afddf7b847856a50636aa87ee3c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make
- make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.76.1/manpages/docbook.xsl man
+ make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.77.1/manpages/docbook.xsl man
+
+ cd gui
+ export HAVE_RULES=yes
+ qmake
+ make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" 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 -m755 gui/cppcheck-gui "${pkgdir}"/usr/bin
}