# 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.6 pkgrel=2 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 0001-Fixed-compatibility-with-3.12.patch 0002-Added-Support-for-with-python-and-python.patch) sha256sums=('8452ed265c209dae99cbb33b67bc7912e72f8bca1e24f33f1a88ba3d7985e909' 'ddaa7263813276487ddff956bd660dcdfa25642a9a7919c431aa290b8f01b6f0' '7e6100c9ea3dd79868835e324e6072672dabc9a2b9ee0ba93180465f35a99d07') prepare() { cd "$pkgname-$pkgver" patch -p1 <"$srcdir/0001-Fixed-compatibility-with-3.12.patch" patch -p1 <"$srcdir/0002-Added-Support-for-with-python-and-python.patch" } build() { cd "$pkgname-$pkgver" ./autogen ./configure --prefix=/usr make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" MANDIR="/usr/share/man" install } # vim:set ts=2 sw=2 et: