diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -9,7 +9,7 @@ pkgname=coccinelle pkgver=1.0.6 -pkgrel=1 +pkgrel=2 pkgdesc="Provides spatch program used to apply semantic patches" arch=('i686' 'x86_64') url="http://coccinelle.lip6.fr/" @@ -19,12 +19,23 @@ 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=('8452ed265c209dae99cbb33b67bc7912e72f8bca1e24f33f1a88ba3d7985e909') +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 } |