# Compiling Time: 0.06 SBU
# Maintainer: DeX77 <dex77@frugalware.org>

pkgname=ocaml-fpath
pkgver=0.7.3
pkgrel=1
pkgdesc='File system paths for OCaml'
archs=('x86_64')
groups=('devel-extra')
url="https://erratique.ch/software/fpath"
options=('nostrip')
depends=('ocaml-astring')
makedepends=('ocaml-topkg' 'ocamlbuild' 'opam' 'ocaml-findlib')
_F_archive_name=fpath
up2date="Flastarchive $url/releases .tbz"
source=("$url/releases/fpath-$pkgver.tbz")
sha1sums=('076933b773afd03c444f731c96d440badba13a12')

build() {
        Fcd
        Fpatchall

        Fexec ocaml 'pkg/pkg.ml' build || Fdie
        Fexec opam-installer --prefix="$Fdestdir/usr" --libdir='lib/ocaml' --docdir='share/doc' || Fdie
}


# optimization OK
