Date: Thursday, May 18, 2023 @ 19:53:09 Author: juergen Revision: 1463127
archrelease: copy trunk to community-x86_64 Added: ocaml-sexplib0/repos/community-x86_64/PKGBUILD (from rev 1463126, ocaml-sexplib0/trunk/PKGBUILD) Deleted: ocaml-sexplib0/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-05-18 19:53:05 UTC (rev 1463126) +++ PKGBUILD 2023-05-18 19:53:09 UTC (rev 1463127) @@ -1,36 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Peukert <dan.peuk...@gmail.com> -# Contributor: Jakob Gahde <j...@fmail.co.uk> - -_projectname='sexplib0' -pkgname="ocaml-$_projectname" -pkgver=0.15.1 -pkgrel=2 -pkgdesc='Library containing the definition of S-expressions and some base converters' -arch=('x86_64') -url="https://github.com/janestreet/$_projectname" -license=('MIT') -depends=('ocaml>=4.14.0') -makedepends=('dune') -options=('!strip') -source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/v$pkgver.tar.gz") -sha256sums=('e8cd817eb3bc3f84a2065fa0255ab2b986a24baf1cc329d05627c516464267b3') - -_sourcedirectory="$_projectname-$pkgver" - -build() { - cd "$srcdir/$_sourcedirectory/" - dune build --release --verbose -} - -package() { - cd "$srcdir/$_sourcedirectory/" - DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '/usr/lib/ocaml' --release --verbose - - install -dm755 "$pkgdir/usr/share/doc/$pkgname" - mv "$pkgdir/usr/doc/$_projectname/"* "$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-sexplib0/repos/community-x86_64/PKGBUILD (from rev 1463126, ocaml-sexplib0/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-05-18 19:53:09 UTC (rev 1463127) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Peukert <dan.peuk...@gmail.com> +# Contributor: Jakob Gahde <j...@fmail.co.uk> + +_projectname='sexplib0' +pkgname="ocaml-$_projectname" +pkgver=0.16.0 +pkgrel=1 +pkgdesc='Library containing the definition of S-expressions and some base converters' +arch=('x86_64') +url="https://github.com/janestreet/$_projectname" +license=('MIT') +depends=('ocaml') +makedepends=('dune') +options=('!strip') +source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('73002106488074187a174992da6e76f36f543e6daa80dbf6039a3e10e46adc80') + +_sourcedirectory="$_projectname-$pkgver" + +build() { + cd "$srcdir/$_sourcedirectory/" + dune build --release --verbose +} + +package() { + cd "$srcdir/$_sourcedirectory/" + DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '/usr/lib/ocaml' --release --verbose + + install -dm755 "$pkgdir/usr/share/doc/$pkgname" + mv "$pkgdir/usr/doc/$_projectname/"* "$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" +}