updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / pcre-ocaml / PKGBUILD
bloba524e6605b46e2cbb7a00de39490027a7bf4bb25
1 # Maintainer: <oliver@first.in-berlin.de>
3 pkgname=pcre-ocaml
4 pkgver=6.2.4
5 pkgrel=1
6 pkgdesc="OCaml PCRE-binding"
7 arch=('x86_64')
8 license=('LGPL')
9 depends=('pcre')
10 source=(http://hg.ocaml.info/release/pcre-ocaml/archive/release-6.2.4.tar.gz)
11 md5sums=('649fd1c1abacd7efe27c8f446d554a84')
12 url="http://www.ocaml.info/home/ocaml_sources.html#pcre-ocaml"
15 build() {
16 cd ${srcdir}/${pkgname}-release-${pkgver}/lib
18 make byte-code-library native-code-library
23 package() {
24 cd ${srcdir}/${pkgname}-release-${pkgver}
26 cd lib
28 OCAML_LIB_INSTALL=${pkgdir}/usr/lib/ocaml/pcre/ make rawinstall
30 cp META ${pkgdir}/usr/lib/ocaml/pcre/