Date: Thursday, May 18, 2023 @ 19:49:10 Author: juergen Revision: 1463108
archrelease: copy trunk to community-x86_64 Added: ocaml-base/repos/community-x86_64/PKGBUILD (from rev 1463107, ocaml-base/trunk/PKGBUILD) Deleted: ocaml-base/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-18 19:49:05 UTC (rev 1463107) +++ PKGBUILD 2023-05-18 19:49:10 UTC (rev 1463108) @@ -1,34 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Peukert <dan...@peukert.cc> -# Contributor: Jakob Gahde <j...@fmail.co.uk> - -pkgname=ocaml-base -pkgver=0.15.1 -_commit=adb4623168f6cdc26a7e9e953a82b9ceb16d1e19 -pkgrel=1 -pkgdesc='Full standard library replacement for OCaml' -arch=('x86_64') -url="https://github.com/janestreet/base" -license=('MIT') -depends=('ocaml>=4.14.0' 'ocaml-sexplib0') -makedepends=('git' 'dune' 'ocaml-compiler-libs') -options=('!strip') -source=("git+https://github.com/janestreet/base.git#commit=$_commit") -sha256sums=('SKIP') - -build() { - cd base - OCAMLPATH=/usr/lib/ocaml dune build --release -} - -package() { - cd base - DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '/usr/lib/ocaml' --release - - install -dm755 "$pkgdir/usr/share/doc/$pkgname" - mv "$pkgdir/usr/doc/base/"* "$pkgdir/usr/share/doc/$pkgname/" - rm -r "$pkgdir/usr/doc/" - - install -dm755 "$pkgdir/usr/share/licenses/$pkgname" - ln -sf "/usr/share/doc/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" -} Copied: ocaml-base/repos/community-x86_64/PKGBUILD (from rev 1463107, ocaml-base/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-18 19:49:10 UTC (rev 1463108) @@ -0,0 +1,34 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Peukert <dan...@peukert.cc> +# Contributor: Jakob Gahde <j...@fmail.co.uk> + +pkgname=ocaml-base +pkgver=0.15.1 +_commit=adb4623168f6cdc26a7e9e953a82b9ceb16d1e19 +pkgrel=2 +pkgdesc='Full standard library replacement for OCaml' +arch=('x86_64') +url="https://github.com/janestreet/base" +license=('MIT') +depends=('ocaml' 'ocaml-sexplib0') +makedepends=('git' 'dune' 'ocaml-compiler-libs') +options=('!strip') +source=("git+https://github.com/janestreet/base.git#commit=$_commit") +sha256sums=('SKIP') + +build() { + cd base + OCAMLPATH=/usr/lib/ocaml dune build --release +} + +package() { + cd base + DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '/usr/lib/ocaml' --release + + install -dm755 "$pkgdir/usr/share/doc/$pkgname" + mv "$pkgdir/usr/doc/base/"* "$pkgdir/usr/share/doc/$pkgname/" + rm -r "$pkgdir/usr/doc/" + + install -dm755 "$pkgdir/usr/share/licenses/$pkgname" + ln -sf "/usr/share/doc/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" +}