1 # Maintainer: Taylor Venable <taylor@metasyntax.net>
6 pkgdesc='A set of languages and open-source tools for working with structured data.'
10 depends=('ocaml' 'ocaml-findlib')
11 source=("https://github.com/alavrik/piqi/tarball/${pkgver}")
12 options=('!strip' '!makeflags')
13 md5sums=('cd76667a4423a6034009f4d1649b665f')
16 cd "$srcdir/alavrik-piqi-6dbd333"
19 export PIQI_PREFIX="$pkgdir/usr"
23 make ocaml || return 1
27 cd "$srcdir/alavrik-piqi-6dbd333"
28 mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
31 export PIQI_PREFIX="$pkgdir/usr"
33 env DESTDIR="$pkgdir/usr" make install
34 env DESTDIR="$pkgdir/usr" \
35 OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \