Date: Thursday, September 9, 2021 @ 15:14:20 Author: kgizdov Revision: 1013088
upgpkg: dune 2.9.1-1 Modified: dune/trunk/PKGBUILD ----------+ PKGBUILD | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-09-09 15:05:00 UTC (rev 1013087) +++ PKGBUILD 2021-09-09 15:14:20 UTC (rev 1013088) @@ -3,33 +3,32 @@ # Contributor: Jakob Gahde <[email protected]> pkgname=dune -pkgver=2.9.0 -pkgrel=3 +pkgver=2.9.1 +pkgrel=1 pkgdesc="A composable build system for OCaml (formerly jbuilder)" arch=(x86_64) url="https://github.com/ocaml/dune" license=(Apache) -depends=(glibc "ocaml>=4.11.1" ocaml-findlib ocaml-csexp) +depends=('glibc' 'ocaml>=4.12.0' 'ocaml-findlib' 'ocaml-csexp') source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('1c3b64746b00215cd97b36c0f1c6e2416c9d15c795265634240e9da37e2c2fce02ab3c309a0cb967f9f20a5c6df14e943c3c2942c1a8f4743c3a19c699f4eb24') +sha512sums=('4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77') build() { cd "${srcdir}/${pkgname}-${pkgver}" + make dune.exe # this runs `ocaml bootstrap.ml`, but keeps upstream's choice dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs,dune-site' - make dune.exe - ./dune.exe build -p $dune_release_pkgs --profile dune-bootstrap + ./dune.exe build -p "${dune_release_pkgs}" --profile dune-bootstrap } -# Tests requires a bunch of (currently) unpackaged dependencies -#check() { -# cd ${pkgname}-${pkgver/b/-beta} -# make test -#} +# Tests require a bunch of (currently) unpackaged dependencies +# check() { +# cd "${srcdir}/${pkgname}-${pkgver}" +# make test +# } package() { cd "${srcdir}/${pkgname}-${pkgver}" - # make DESTDIR="${pkgdir}" INSTALL_ARGS="--prefix=/usr --libdir='$(ocamlfind printconf destdir)'" install DESTDIR="${pkgdir}" ./dune.exe install --prefix "/usr" --libdir=$(ocamlfind printconf destdir) # Fix doc and man install rm -r "${pkgdir}"/usr/doc
