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')
14 options=('!strip' '!makeflags')
16 _gitroot='git://github.com/alavrik/piqi.git'
22 if [[ -d $startdir/src/$_gitname ]]; then
23 cd $_gitname && git pull origin
25 git clone --depth=1 $_gitroot
30 export PIQI_PREFIX="$pkgdir/usr"
34 make ocaml || return 1
39 mkdir -p "$pkgdir/$(ocamlfind printconf destdir)"
42 export PIQI_PREFIX="$pkgdir/usr"
44 env DESTDIR="$pkgdir/usr" make install
45 env DESTDIR="$pkgdir/usr" \
46 OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)" \