1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor: Magnus Therning <magnus@therning.org>
3 # Contributor: Thomas Pani <thomas.pani@gmail.com>
8 pkgdesc="This is a simple implementation of 'expect' to help building unitary testing of interactive program."
10 url="http://forge.ocamlcore.org/projects/ocaml-expect/"
12 depends=('ocaml' 'ocaml-pcre' 'ocaml-extlib')
13 makedepends=('ocaml-findlib')
14 changelog=$pkgname.changelog
15 source=(https://forge.ocamlcore.org/frs/download.php/475/ocaml-expect-${pkgver}.tar.gz)
16 sha256sums=('178659fe466b1d43c32b183aadfd107d2a310b4e5f5f59019f3114129cd2cd7f')
19 cd "$srcdir/$pkgname-$pkgver"
21 ocaml setup.ml -configure --prefix /usr --destdir ${pkgdir}
26 cd "$srcdir/$pkgname-$pkgver"
28 export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"
30 mkdir -p $OCAMLFIND_DESTDIR
31 ocaml setup.ml -install