Date: Saturday, August 29, 2020 @ 13:09:37 Author: juergen Revision: 394893
archrelease: copy trunk to extra-x86_64 Added: ocaml-result/repos/extra-x86_64/PKGBUILD (from rev 394892, ocaml-result/trunk/PKGBUILD) Deleted: ocaml-result/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-08-29 13:09:32 UTC (rev 394892) +++ PKGBUILD 2020-08-29 13:09:37 UTC (rev 394893) @@ -1,32 +0,0 @@ -# Maintainer: Jürgen Hötzel <juer...@archlinux.org> - -_pkgname=result -pkgname=ocaml-${_pkgname} -pkgver=1.5 -pkgrel=2 -pkgdesc="Compatibility Result module" -arch=('i686' 'x86_64' 'armv7h') -url="https://github.com/janestreet/result" -license=('BSD') -depends=('ocaml') -makedepends=('ocaml-findlib' 'dune') -options=('!strip') -source=("https://github.com/janestreet/result/archive/${pkgver}.tar.gz") -sha512sums=('5ca3aab3b46bff7f4fa4517b5d823de196d7a97a8b94a8e416a5e237061482f4d0030c6a339291d5aa8f68020ee11aed743b730970105a2303e6a93d26ca676a') - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - dune build -} - - -package() { - cd "${srcdir}/${_pkgname}-${pkgver}" - - install -dm755 "${pkgdir}$(ocamlfind printconf destdir)" - dune install --prefix "${pkgdir}/usr" \ - --libdir "${pkgdir}$(ocamlfind printconf destdir)" - - install -Dm644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" - mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/" -} Copied: ocaml-result/repos/extra-x86_64/PKGBUILD (from rev 394892, ocaml-result/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-08-29 13:09:37 UTC (rev 394893) @@ -0,0 +1,32 @@ +# Maintainer: Jürgen Hötzel <juer...@archlinux.org> + +_pkgname=result +pkgname=ocaml-${_pkgname} +pkgver=1.5 +pkgrel=3 +pkgdesc="Compatibility Result module" +arch=('i686' 'x86_64' 'armv7h') +url="https://github.com/janestreet/result" +license=('BSD') +depends=('ocaml') +makedepends=('ocaml-findlib' 'dune') +options=('!strip') +source=("https://github.com/janestreet/result/archive/${pkgver}.tar.gz") +sha512sums=('5ca3aab3b46bff7f4fa4517b5d823de196d7a97a8b94a8e416a5e237061482f4d0030c6a339291d5aa8f68020ee11aed743b730970105a2303e6a93d26ca676a') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + dune build +} + + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + + install -dm755 "${pkgdir}$(ocamlfind printconf destdir)" + dune install --prefix "${pkgdir}/usr" \ + --libdir "${pkgdir}$(ocamlfind printconf destdir)" + + install -Dm644 "LICENSE.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" + mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/" +}