summaryrefslogtreecommitdiff
path: root/community/cppcheck/PKGBUILD
blob: 1e8718b8b741016ce6581e5e39f1204294921899 (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 45163 2011-04-18 02:26:25Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=cppcheck
pkgver=1.48
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=('10cf38034148b7cb258840febe620ba397114fd1')

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

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