# Compiling Time: 0 SBU # Maintainer: DeX77 pkgname=dune pkgver=2.9.0 pkgrel=1 pkgdesc="A composable build system for OCaml (formerly jbuilder)" archs=('x86_64') groups=('devel-extra') depends=('glibc') makedepends=('ocaml-findlib' 'ocaml-static') _F_github_author=ocaml _F_github_grepv="draft\|beta" Finclude github source=("https://github.com/ocaml/dune/archive/${pkgver}.tar.gz") up2date="$up2date | sed s/+$pkgextraver//" sha1sums=('28f6c890269d28ed48030c91eb895234b023395e') _F_cd_path="$pkgname-$pkgver" build() { Fcd Fexec make release || Fdie # Work around the install command export OCAMLFIND_DESTDIR="${Fdestdir}$(ocamlfind printconf destdir)" Fmkdir usr/lib/ocaml Fexec make INSTALL_ARGS="--prefix=${Fdestdir}/usr --libdir='${OCAMLFIND_DESTDIR}'" install || Fdie Fmv usr/{doc,share/} Fmv usr/{man,share/} } # optimization OK