1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
5 pkgdesc="An OCaml module for declarative definition of command line interfaces."
7 url="http://erratique.ch/software/cmdliner"
10 makedepends=('ocaml-findlib')
11 source=(http://erratique.ch/software/cmdliner/releases/cmdliner-$pkgver.tbz)
12 md5sums=('97d98d96a989a7e4ba4bddb6135131e0')
15 cd "$srcdir/cmdliner-$pkgver"
21 cd "$srcdir/cmdliner-$pkgver"
23 export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"
24 install -dm755 "$OCAMLFIND_DESTDIR"
25 INSTALLDIR="${OCAMLFIND_DESTDIR}/${pkgname/ocaml-/}" sh build install
27 install -dDm755 doc/ "$pkgdir/usr/share/doc/$pkgname/"