1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
7 pkgdesc='A library for dealing with text in a convenient way'
9 url='http://forge.ocamlcore.org/projects/ocaml-text/'
11 depends=('ocaml>=3.11.0')
12 makedepends=('ocaml-findlib')
13 source=('http://forge.ocamlcore.org/frs/download.php/641/ocaml-text-0.5.tar.gz')
15 md5sums=('5f004642ba19c1710ade13d46e2c1df2')
18 cd "$srcdir/${srcname}-${pkgver}"
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