updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / ocaml-tyxml / PKGBUILD
blob014dd5cbb041c2d3cd4292bce09ce64a94ada648
1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
3 srcname='tyxml'
4 pkgname="ocaml-${srcname}"
5 pkgver='2.0.1'
6 pkgrel=1
7 pkgdesc='OCaml library that allows you to build XML trees whose validity is ensured by the typechecker'
8 arch=('i686' 'x86_64')
9 url='http://ocsigen.org/'
10 license=('LGPL')
11 depends=('ocaml' 'ocamlnet')
12 makedepends=('ocaml-findlib')
13 source=("http://ocsigen.org/download/${srcname}-${pkgver}.tar.gz")
14 options=('!strip')
15 md5sums=('102eb8032c2f8595b086d0dda9f85d3e')
17 build() {
18     cd "$srcdir/${srcname}-${pkgver}"
20     env DESTDIR="$pkgdir" \
21         OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
22         make OCAMLDUCE=NO
26 package() {
27     mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
29     cd "$srcdir/${srcname}-${pkgver}"
30     env DESTDIR="$pkgdir" \
31         OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \
32         make OCAMLDUCE=NO install