1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
4 pkgname="ocaml-${srcname}"
7 pkgdesc='Syntactic extension for OCaml to provide pattern matching with regular expressions'
9 url='http://martin.jambon.free.fr/micmatch.html'
11 depends=('ocaml' 'ocaml-tophide')
12 makedepends=('ocaml-findlib')
13 source=("http://martin.jambon.free.fr/${srcname}-${pkgver}.tar.bz2")
15 md5sums=('97223f13a797683d6ef7ebd4888b6560')
18 cd "$srcdir/${srcname}-${pkgver}"
20 env PREFIX='/usr' make
25 mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
26 cd "$srcdir/${srcname}-${pkgver}"
28 env OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
30 install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE