updated on Thu Jan 19 16:10:29 UTC 2012
[aur-mirror.git] / sparse / PKGBUILD
blob18db25e053ce5ba3b8d8ce8d7dceef51c1a12448
1 # Contributor: Dan McGee <dpmcgee@gmail.com>
2 # Maintainer: Benjamin Hase <benjamin.hase@web.de>
4 pkgname=sparse
5 pkgver=0.4.4
6 pkgrel=1
7 pkgdesc="A Semantic Parser for C"
8 arch=('i686' 'x86_64')
9 url="http://sparse.wiki.kernel.org/"
10 license=('custom:OSL')
11 depends=('perl' 'libxml2')
12 source=(http://www.kernel.org/pub/software/devel/$pkgname/dist/$pkgname-$pkgver.tar.gz)
14 build() {
15   cd $startdir/src/$pkgname-$pkgver
17   make PREFIX=/usr || return 1
18   make PREFIX=/usr DESTDIR=$startdir/pkg install
20   # install license
21   mkdir -p $startdir/pkg/usr/share/licenses/sparse
22   install -m644 LICENSE $startdir/pkg/usr/share/licenses/sparse/
25 md5sums=('42812e837c858f83ca570d82bed867c3')