1 # Maintainer: Sergei Lebedev <superbobry@gmail.com>
2 # Contributor : Nicolas Pouillard <nicolas(dot)pouillard(at)gmail(dot)com>
3 # Contributor: Sylvester Johansson <scj(at)archlinux(dot)us>
7 pkgdesc="Automated code generation for converting OCaml-values to S-expressions"
9 url="http://ocaml.janestcapital.com/?q=node/13"
11 depends=('ocaml' 'ocaml-type-conv>=3.0.4')
12 makedepends=('ocaml-findlib')
13 options=(!strip !makeflags)
14 source=("http://forge.ocamlcore.org/frs/download.php/699/sexplib-$pkgver.tar.gz")
15 md5sums=('58a858d180107c925903fce4dc700de5')
18 cd "$srcdir/${pkgname/ocaml-/}-${pkgver}"
20 make CONFIGUREFLAGS="--prefix /usr --destdir $pkgdir --disable-tests" build
24 cd "$srcdir/${pkgname/ocaml-/}-${pkgver}"
25 export OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)"
26 mkdir -p $OCAMLFIND_DESTDIR
28 install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE