Date: Tuesday, August 9, 2022 @ 19:23:11 Author: juergen Revision: 452468
archrelease: copy trunk to extra-x86_64 Added: ocaml-result/repos/extra-x86_64/PKGBUILD (from rev 452467, ocaml-result/trunk/PKGBUILD) Deleted: ocaml-result/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 66 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 34 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-09 19:22:48 UTC (rev 452467) +++ PKGBUILD 2022-08-09 19:23:11 UTC (rev 452468) @@ -1,32 +0,0 @@ -# Maintainer: Jürgen Hötzel <juer...@archlinux.org> - -_pkgname=result -pkgname=ocaml-${_pkgname} -pkgver=1.5 -pkgrel=6 -pkgdesc="Compatibility Result module" -arch=('i686' 'x86_64' 'armv7h') -url="https://github.com/janestreet/result" -license=('BSD') -depends=('ocaml>=4.13.1') -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 452467, ocaml-result/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-09 19:23:11 UTC (rev 452468) @@ -0,0 +1,34 @@ +# Maintainer: Jürgen Hötzel <juer...@archlinux.org> + +_pkgname=result +pkgname=ocaml-${_pkgname} +pkgver=1.5 +pkgrel=7 +pkgdesc="Compatibility Result module" +arch=('i686' 'x86_64' 'armv7h') +url="https://github.com/janestreet/result" +license=('BSD') +depends=('ocaml>=4.14.0') +makedepends=('ocaml-findlib' 'dune') +options=('!strip') +source=("https://github.com/janestreet/result/archive/${pkgver}.tar.gz") +sha256sums=('1072a8b0b35bd6df939c0670add33027f981e4f69a53233cb006b442fa12af30') + + + +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/" +}