diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/cppcheck/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/cppcheck/PKGBUILD')
-rw-r--r-- | community/cppcheck/PKGBUILD | 22 |
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 +} |