1 # Maintainer: Baptiste Jonglez <zerstorer at free dot fr>
2 # Contributor: Thomas S Hatch <thatch45 at gmail dot com>
3 # Contributor: Massimiliano Brocchini <brocchini@netseven.it>
8 pkgdesc="Extends the OCaml standard library"
10 url="http://code.google.com/p/ocaml-extlib/"
13 makedepends=('ocaml-findlib')
14 source=(http://ocaml-extlib.googlecode.com/files/extlib-${pkgver}.tar.gz)
15 md5sums=('839f9bf5a971fa07935c96ba7e209f86')
17 _DOCDIR="${pkgdir}/usr/share/doc/ocaml-extlib"
20 cd ${srcdir}/extlib-${pkgver}
25 sed -i 's/cp odoc_style.css/#cp odoc_style.css/g' Makefile
26 sed -i 's/ocamldoc -sort -html/ocamldoc -sort -keep-code -html -colorize-code/g' Makefile
29 # Install additional files
30 sed -i 's/ocamlfind install extlib META/ocamlfind install extlib META *.cmo *.cmx *.ml/g' Makefile
34 cd ${srcdir}/extlib-${pkgver}
36 export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)"
37 mkdir -p "${OCAMLFIND_DESTDIR}"