summaryrefslogtreecommitdiff
path: root/community/cppcheck
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-12-17 23:14:43 +0000
committerroot <root@rshg054.dnsready.net>2011-12-17 23:14:43 +0000
commit146025aa1c838c12fa7b4873414da73816bfb6bd (patch)
tree22bcdae4c400322b756f2f4cc360de8c08b946a4 /community/cppcheck
parent492f7c22a61fdb0488000da9f66d68e11bb43918 (diff)
Sat Dec 17 23:14:43 UTC 2011
Diffstat (limited to 'community/cppcheck')
-rw-r--r--community/cppcheck/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/community/cppcheck/PKGBUILD b/community/cppcheck/PKGBUILD
index b94a1b1ae..6019768a5 100644
--- a/community/cppcheck/PKGBUILD
+++ b/community/cppcheck/PKGBUILD
@@ -1,23 +1,26 @@
-# $Id: PKGBUILD 60373 2011-12-12 11:44:22Z stephane $
+# $Id: PKGBUILD 60664 2011-12-16 16:51:24Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=cppcheck
pkgver=1.52
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for static C/C++ code analysis"
arch=('i686' 'x86_64')
url="http://cppcheck.wiki.sourceforge.net/"
license=('GPL')
depends=('pcre')
+makedepends=('docbook-xsl')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('56cc54f9d0af41dcfee5560e897fd3e1357712bc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make
+ make DB2MAN=/usr/share/xml/docbook/xsl-stylesheets-1.76.1/manpages/docbook.xsl man
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
+ install -D -p -m 644 cppcheck.1 ${pkgdir}/usr/share/man/man1/cppcheck.1
}