Date: Saturday, December 11, 2021 @ 12:24:20 Author: juergen Revision: 1068241
archrelease: copy trunk to community-x86_64 Added: ocaml-csexp/repos/community-x86_64/PKGBUILD (from rev 1068240, ocaml-csexp/trunk/PKGBUILD) Deleted: ocaml-csexp/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-11 12:21:21 UTC (rev 1068240) +++ PKGBUILD 2021-12-11 12:24:20 UTC (rev 1068241) @@ -1,29 +0,0 @@ -# Maintainer: Konstantin Gizdov <arch at kge dot pw> -_pkgname='csexp' -pkgname="ocaml-${_pkgname}" -pkgver=1.5.1 -pkgrel=1 -pkgdesc="OCaml canonical S-expressions" -arch=(x86_64) -url="https://github.com/ocaml-dune/csexp" -license=('MIT') -makedepends=(dune) -depends=(glibc "ocaml>=4.12.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}" - DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "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 1068240, ocaml-csexp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-11 12:24:20 UTC (rev 1068241) @@ -0,0 +1,29 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> +_pkgname='csexp' +pkgname="ocaml-${_pkgname}" +pkgver=1.5.1 +pkgrel=2 +pkgdesc="OCaml canonical S-expressions" +arch=(x86_64) +url="https://github.com/ocaml-dune/csexp" +license=('MIT') +makedepends=(dune) +depends=(glibc "ocaml>=4.13.1" 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}" + DESTDIR="${pkgdir}" dune install --prefix "/usr" --libdir "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" +}