summaryrefslogtreecommitdiff
path: root/community/cppcheck/PKGBUILD
blob: c40ddb0cabc357dbb0278f31dc002d93db0cfc99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 55608 2011-09-15 21:38:48Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=cppcheck
pkgver=1.50
pkgrel=1
pkgdesc="A tool for static C/C++ code analysis"
arch=('i686' 'x86_64' 'mips64el')
url="http://cppcheck.wiki.sourceforge.net/"
license=('GPL')
depends=('pcre')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('39ad14cb4cb9caa45fd3365203c5f54981ee2870')

build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make
}

package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   make DESTDIR="${pkgdir}" install
}