Date: Sunday, February 13, 2022 @ 19:15:49 Author: kgizdov Revision: 1133083
archrelease: copy trunk to community-x86_64 Added: ocaml-pp/repos/community-x86_64/PKGBUILD (from rev 1133082, ocaml-pp/trunk/PKGBUILD) Deleted: ocaml-pp/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-13 19:15:43 UTC (rev 1133082) +++ PKGBUILD 2022-02-13 19:15:49 UTC (rev 1133083) @@ -1,30 +0,0 @@ -# Maintainer: Konstantin Gizdov <arch at kge dot pw> -_pkgname='pp' -pkgname="ocaml-${_pkgname}" -pkgver=1.1.2 -pkgrel=1 -pkgdesc="OCaml Pretty printing: a lean alternative to the Format module of the OCaml standard library." -arch=('x86_64') -url="https://github.com/ocaml-dune/pp" -license=('MIT') -makedepends=('dune') -depends=('glibc' 'ocaml>=4.13.1' 'ocaml-findlib' 'ocaml-result') -options=('!strip') -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('8c4dbce6930c62f5cee26ebef907b7b862b03fb57a07a3c6bebc31ee40ef16a6fe2b9450a7fe7016dd48bcf9807009c411f5ea8e587550644495bd7970c63085') - -build() { - cd "${srcdir}/${_pkgname}-${pkgver}" - dune build -p "${_pkgname}" -} - -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/pp/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: ocaml-pp/repos/community-x86_64/PKGBUILD (from rev 1133082, ocaml-pp/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-13 19:15:49 UTC (rev 1133083) @@ -0,0 +1,30 @@ +# Maintainer: Konstantin Gizdov <arch at kge dot pw> +_pkgname='pp' +pkgname="ocaml-${_pkgname}" +pkgver=1.1.2 +pkgrel=2 +pkgdesc="OCaml Pretty printing: a lean alternative to the Format module of the OCaml standard library." +arch=('x86_64') +url="https://github.com/ocaml-dune/pp" +license=('MIT') +makedepends=('dune') +depends=('glibc' 'ocaml>=4.13.1') +options=('!strip') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz") +sha512sums=('8c4dbce6930c62f5cee26ebef907b7b862b03fb57a07a3c6bebc31ee40ef16a6fe2b9450a7fe7016dd48bcf9807009c411f5ea8e587550644495bd7970c63085') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + dune build -p "${_pkgname}" +} + +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/pp/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}