summaryrefslogtreecommitdiff
path: root/community/cppcheck/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/cppcheck/PKGBUILD')
-rw-r--r--community/cppcheck/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/community/cppcheck/PKGBUILD b/community/cppcheck/PKGBUILD
new file mode 100644
index 000000000..a6c343e21
--- /dev/null
+++ b/community/cppcheck/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 39750 2011-02-15 22:58:04Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+pkgname=cppcheck
+pkgver=1.47
+pkgrel=1
+pkgdesc="A tool for static C/C++ code analysis"
+arch=('i686' 'x86_64')
+url="http://cppcheck.wiki.sourceforge.net"
+license=('GPL')
+depends=('gcc-libs' 'pcre')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
+sha1sums=('ab30d8968064d50d2e1022c749b0d7d10c8b65ae')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}