1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
2 # Contributor: Massimiliano Brocchini <brocchini@netseven.it>
7 pkgdesc="Command line parsing module similar to GNU GetOpt for Objective Caml (OCaml)"
9 url="http://alain.frisch.fr/soft.html#Getopt"
12 makedepends=('ocaml-findlib')
13 source=(http://alain.frisch.fr/info/getopt-20040811.tar.gz)
14 md5sums=('3e9f5de83475c05141c6e281f49994d6')
16 DESTDIR="${pkgdir}$(ocamlfind printconf destdir)/getopt"
17 DOCDIR="${pkgdir}/usr/share/doc/${pkgname}"
28 install -m 0644 getopt.{a,cmxa,cma,cmi,mli} META $DESTDIR
29 "cp" -r sample.ml doc/* $DOCDIR