Date: Saturday, July 3, 2021 @ 15:06:10 Author: kgizdov Revision: 971942
archrelease: copy trunk to community-x86_64 Added: dune/repos/community-x86_64/PKGBUILD (from rev 971941, dune/trunk/PKGBUILD) Deleted: dune/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-07-03 15:06:05 UTC (rev 971941) +++ PKGBUILD 2021-07-03 15:06:10 UTC (rev 971942) @@ -1,38 +0,0 @@ -# Maintainer: Konstantin Gizdov <arch at kge dot pw> -# Maintainer: Bruno Pagani <archa...@archlinux.org> -# Contributor: Jakob Gahde <j...@fmail.co.uk> - -pkgname=dune -pkgver=2.8.5 -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) -source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('4d0d8611aeb945afdff4319d7195e3b84e1896e64010a2809ca59d3e0721eded3e7c560cf28ea19c93f5a82b1843d97165751060a6b2425c8db9a7cfc17d6e32') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - 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 -} - -# Tests requires a bunch of (currently) unpackaged dependencies -#check() { -# cd ${pkgname}-${pkgver/b/-beta} -# 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 - install -dm755 "${pkgdir}"/usr/share - mv "${pkgdir}"/usr/{man,share/} -} Copied: dune/repos/community-x86_64/PKGBUILD (from rev 971941, dune/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-07-03 15:06:10 UTC (rev 971942) @@ -0,0 +1,38 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contributor: Jakob Gahde <j...@fmail.co.uk> + +pkgname=dune +pkgver=2.9.0 +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) +source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('1c3b64746b00215cd97b36c0f1c6e2416c9d15c795265634240e9da37e2c2fce02ab3c309a0cb967f9f20a5c6df14e943c3c2942c1a8f4743c3a19c699f4eb24') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + 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 +} + +# Tests requires a bunch of (currently) unpackaged dependencies +#check() { +# cd ${pkgname}-${pkgver/b/-beta} +# 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 + install -dm755 "${pkgdir}"/usr/share + mv "${pkgdir}"/usr/{man,share/} +}