1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Magnus Therning <magnus@therning.org>
6 pkgdesc="Perl compatible regular expressions for OCaml"
8 url="http://www.ocaml.info/home/ocaml_sources.html#toc18"
10 depends=('ocaml' 'pcre>=4.5')
11 makedepends=('ocaml-findlib')
12 replaces=('pcre-ocaml')
13 conflicts=('pcre-ocaml')
14 source=(http://hg.ocaml.info/release/pcre-ocaml/archive/release-$pkgver.tar.bz2)
15 sha256sums=('6eecd521c16edec64218059f05ca76778cd0522908cc552c1d27de0fe724fbd7')
19 cd "$srcdir/pcre-ocaml-release-$pkgver"
24 cd "$srcdir/pcre-ocaml-release-$pkgver"
25 export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
26 install -dm 755 "$OCAMLFIND_DESTDIR/stublibs"
28 install -dDm755 "lib/doc/pcre/html" "$pkgdir/usr/share/doc/$pkgname"
29 install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"