Date: Thursday, May 18, 2023 @ 19:42:36 Author: juergen Revision: 478027
archrelease: copy trunk to extra-x86_64 Added: ocaml-result/repos/extra-x86_64/PKGBUILD (from rev 478026, ocaml-result/trunk/PKGBUILD) Deleted: ocaml-result/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-18 19:42:32 UTC (rev 478026) +++ PKGBUILD 2023-05-18 19:42:36 UTC (rev 478027) @@ -1,34 +0,0 @@ -# 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/" -} Copied: ocaml-result/repos/extra-x86_64/PKGBUILD (from rev 478026, ocaml-result/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-18 19:42:36 UTC (rev 478027) @@ -0,0 +1,34 @@ +# Maintainer: Jürgen Hötzel <juer...@archlinux.org> + +_pkgname=result +pkgname=ocaml-${_pkgname} +pkgver=1.5 +pkgrel=8 +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") +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/" +}