Date: Friday, October 12, 2018 @ 12:04:19 Author: archange Revision: 393222
archrelease: copy trunk to community-x86_64 Added: dune/repos/community-x86_64/PKGBUILD (from rev 393221, dune/trunk/PKGBUILD) Deleted: dune/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 45 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-12 12:04:11 UTC (rev 393221) +++ PKGBUILD 2018-10-12 12:04:19 UTC (rev 393222) @@ -1,41 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> -# Contributor: Jakob Gahde <j...@fmail.co.uk> - -pkgname=dune -pkgver=1.4.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') -provides=('jbuilder') -conflicts=('jbuilder') -replaces=('jbuilder') -source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") -sha256sums=('d71b484c602160c3a20453aae10ac4562878a5a8b43a8202b0f4a0f8c2648b4c') - -build() { - cd ${pkgname}-${pkgver} - make release -} - -# Tests requires a bunch of (currently) unpackaged dependencies -#check() { -# cd ${pkgname}-${pkgver/b/-beta} -# make test -#} - -package() { - cd ${pkgname}-${pkgver} - - # Work around the install command - export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" - install -dm755 ${OCAMLFIND_DESTDIR} - make INSTALL_ARGS="--prefix='${pkgdir}'/usr --libdir='${OCAMLFIND_DESTDIR}'" install - - # Fix doc and man install - install -dm755 "${pkgdir}"/usr/share - mv "${pkgdir}"/usr/{doc,share/} - mv "${pkgdir}"/usr/{man,share/} -} Copied: dune/repos/community-x86_64/PKGBUILD (from rev 393221, dune/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-12 12:04:19 UTC (rev 393222) @@ -0,0 +1,45 @@ +# Maintainer: Bruno Pagani <archa...@archlinux.org> +# Contributor: Jakob Gahde <j...@fmail.co.uk> + +pkgname=dune +pkgver=1.4.0 +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') +provides=('jbuilder') +conflicts=('jbuilder') +replaces=('jbuilder') +source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") +sha256sums=('d71b484c602160c3a20453aae10ac4562878a5a8b43a8202b0f4a0f8c2648b4c') + +build() { + cd ${pkgname}-${pkgver} + make release +} + +# Tests requires a bunch of (currently) unpackaged dependencies +#check() { +# cd ${pkgname}-${pkgver/b/-beta} +# make test +#} + +package() { + cd ${pkgname}-${pkgver} + + # Work around the install command + export OCAMLFIND_DESTDIR="${pkgdir}$(ocamlfind printconf destdir)" + install -dm755 ${OCAMLFIND_DESTDIR} + make INSTALL_ARGS="--prefix='${pkgdir}'/usr --libdir='${OCAMLFIND_DESTDIR}'" install + + # Fix doc and man install + rm -r "${pkgdir}"/usr/doc + install -dm755 "${pkgdir}"/usr/share + mv "${pkgdir}"/usr/{man,share/} + # FS#60288 + install -dm755 "${pkgdir}"/usr/share/man/man{1,5} + mv "${pkgdir}"/usr/share/man/{*.1,man1} + mv "${pkgdir}"/usr/share/man/{dune-config.5,man5} +}