1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
4 pkgname="ocaml-${srcname}"
7 pkgdesc='A cross-platform library for manipulating the terminal'
9 url='http://forge.ocamlcore.org/projects/lambda-term/'
11 depends=('ocaml' 'ocaml-lwt' 'ocaml-react' 'ocaml-zed')
12 makedepends=('ocaml-findlib')
13 source=('http://forge.ocamlcore.org/frs/download.php/673/lambda-term-1.1.tar.gz')
15 md5sums=('b79eab17f609db4fc07c21cbd1b0fe9e')
18 cd "$srcdir/${srcname}-${pkgver}"
19 ./configure --prefix /usr --destdir "$pkgdir"
21 env DESTDIR="$pkgdir" \
22 OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
28 mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
29 mkdir -p "$pkgdir/$(ocamlfind printconf destdir)/stublibs"
30 cd "$srcdir/${srcname}-${pkgver}"
31 env DESTDIR="$pkgdir" \
32 OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
34 install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE