Date: Thursday, May 18, 2023 @ 19:50:36 Author: juergen Revision: 1463115
archrelease: copy trunk to community-x86_64 Added: ocaml-csexp/repos/community-x86_64/PKGBUILD (from rev 1463114, ocaml-csexp/trunk/PKGBUILD) Deleted: ocaml-csexp/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-18 19:50:32 UTC (rev 1463114) +++ PKGBUILD 2023-05-18 19:50:36 UTC (rev 1463115) @@ -1,29 +0,0 @@ -# Maintainer: Konstantin Gizdov <arch at kge dot pw> -_pkgname='csexp' -pkgname="ocaml-${_pkgname}" -pkgver=1.5.1 -pkgrel=5 -pkgdesc="OCaml canonical S-expressions" -arch=(x86_64) -url="https://github.com/ocaml-dune/csexp" -license=('MIT') -makedepends=(dune) -depends=(glibc "ocaml>=4.14.0" ocaml-findlib ocaml-result) -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('b451f380786fda53998f77b1509422d58bb5a51518595e329f625fbf0ca67e597be0c9935de77a10a65216cb4b9ec91579ad51bdeee536795e142e014433d46b') - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - dune build -p csexp -} - -package() { - cd "${srcdir}/${_pkgname}-${pkgver}" - dune install --destdir="${pkgdir}" --prefix "/usr" --libdir "/usr/lib/ocaml" - - install -dm755 "${pkgdir}/usr/share/" - mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/" - - install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" - ln -s /usr/share/doc/csexp/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: ocaml-csexp/repos/community-x86_64/PKGBUILD (from rev 1463114, ocaml-csexp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-18 19:50:36 UTC (rev 1463115) @@ -0,0 +1,29 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> +_pkgname='csexp' +pkgname="ocaml-${_pkgname}" +pkgver=1.5.2 +pkgrel=1 +pkgdesc="OCaml canonical S-expressions" +arch=(x86_64) +url="https://github.com/ocaml-dune/csexp" +license=('MIT') +makedepends=(dune) +depends=(glibc ocaml ocaml-findlib ocaml-result) +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('283bb9813e08b6f575e97bf612a398a46454916370d9e41b15f05663810676cb0419377c17490954b0ad681c02630332d300839ebdfab4e5b441fba226b861ac') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + dune build -p csexp +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + dune install --destdir="${pkgdir}" --prefix "/usr" --libdir "/usr/lib/ocaml" + + install -dm755 "${pkgdir}/usr/share/" + mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/" + + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s /usr/share/doc/csexp/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}