Date: Tuesday, June 9, 2020 @ 19:19:14 Author: felixonmars Revision: 640869
archrelease: copy trunk to community-x86_64 Added: dune/repos/community-x86_64/PKGBUILD (from rev 640868, dune/trunk/PKGBUILD) Deleted: dune/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-06-09 19:18:47 UTC (rev 640868) +++ PKGBUILD 2020-06-09 19:19:14 UTC (rev 640869) @@ -1,37 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> -# Contributor: Jakob Gahde <j...@fmail.co.uk> - -pkgname=dune -pkgver=2.5.1 -pkgrel=2 -pkgdesc="A composable build system for OCaml (formerly jbuilder)" -arch=(x86_64) -url="https://github.com/ocaml/dune" -license=(Apache) -depends=(glibc ocaml ocaml-findlib) -source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('d7d3df74c33ef9b2d1fb95c3150e91056b69aefbad44542bd4af3ef310038a3b083fb178065ec0fbb5eb3dd564578d04d37944ec022fb92fe5d437a6ca7ec3fa') - -build() { - cd ${pkgname}-${pkgver} - dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs' - 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 ${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 640868, dune/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-09 19:19:14 UTC (rev 640869) @@ -0,0 +1,37 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contributor: Jakob Gahde <j...@fmail.co.uk> + +pkgname=dune +pkgver=2.6.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 ocaml-findlib) +source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('2940b432504331dccbfbd61bf32f4960286efab34de65df1c335226ab3d48b2225569774674b09ef0846bc3a691eea0eeb1d688855e37be7b2b69adf69cb2a29') + +build() { + cd ${pkgname}-${pkgver} + dune_release_pkgs='dune,dune-action-plugin,dune-build-info,dune-configurator,dune-glob,dune-private-libs' + 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 ${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/} +}