# Maintainer: Omar Sandoval # Contributor: Roger Zanoni # Contributor: Sylvain Henry # Contributor: Marti Raudsepp # Contributor: Dan McGee # Contributor: LeCrayonVert # Contributor: Lukas Fleischer # Contributor: Vladimir Kirillov pkgname=coccinelle pkgver=1.0.4 pkgrel=1 pkgdesc="Provides spatch program used to apply semantic patches" arch=('i686' 'x86_64') url="http://coccinelle.lip6.fr/" license=('GPL2') makedepends=('camlp4' 'ocaml' 'ocaml-findlib') depends=('pcre' 'python') optdepends=('ocaml: OCaml scripting feature' 'ocaml-findlib: OCaml scripting feature') options=(!strip) source=(http://coccinelle.lip6.fr/distrib/${pkgname}-${pkgver}.tgz) sha256sums=('7f823813a2ea299c0f6c01d8419b83c4dc6617116d32ba99d726443a1c22b06d') build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" MANDIR="/usr/share/man" install }