1 #Contributor: Sergey Plaksin <serp256@gmail.com>
6 pkgdesc="Batteries Included for OCaml stripped down version"
8 url="https://forge.ocamlcore.org/projects/batteries/"
10 depends=('ocaml' 'ocaml-findlib' 'ocaml-camomile' 'ocaml-ounit')
11 buld_depends=("omake")
12 source=(https://forge.ocamlcore.org/frs/download.php/334/aaa-batteries-$pkgver.tar.gz)
13 md5sums=('0af4bf33b0588c07b97b6b4222428551')
16 cd $srcdir/aaa-batteries-$pkgver
17 sed -i "s|/usr/share/doc/ocaml-aaa/|$pkgdir/usr/share/doc/$pkgname/|" OMakefile
20 mkdir -p $pkgdir$(ocamlfind printconf destdir)/aaa
21 OCAMLFIND_DESTDIR="$pkgdir$(ocamlfind printconf destdir)" omake install
23 install -Dm 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE