1 #Contributor: Sergey Plaksin <radzevich.belevich at gmail.com>
8 pkgdesc="A syntax extension of OCaml that can make the use of JSON data easier"
10 url="http://martin.jambon.free.fr/json-static.html"
12 depends=('ocaml' 'ocaml-findlib' 'ocaml-json-wheel')
13 source=(http://martin.jambon.free.fr/json-static-$pkgver.tar.gz)
14 md5sums=('d45e22d4594ca3d7642243f2e275ac29')
17 cd $srcdir/$libname-$pkgver
19 mkdir -p $pkgdir$(ocamlfind printconf destdir)/$libname
20 make OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)" install || return 1
21 install -Dm 644 README $pkgdir/usr/share/doc/$pkgname/README
22 install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE