Date: Saturday, December 11, 2021 @ 12:36:19 Author: juergen Revision: 1068267
archrelease: copy trunk to community-x86_64 Added: ocaml-ppx_derivers/repos/community-x86_64/PKGBUILD (from rev 1068266, ocaml-ppx_derivers/trunk/PKGBUILD) Deleted: ocaml-ppx_derivers/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-11 12:36:13 UTC (rev 1068266) +++ PKGBUILD 2021-12-11 12:36:19 UTC (rev 1068267) @@ -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='ppx_derivers' -pkgname="ocaml-$_projectname" -pkgver=1.2.1 -pkgrel=6 -pkgdesc='Shared deriving plugin registry' -arch=('x86_64') -url="https://github.com/ocaml-ppx/$_projectname" -license=('BSD') -depends=('ocaml') -makedepends=('dune') -options=('!strip') -source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/$pkgver.tar.gz") -sha256sums=('b6595ee187dea792b31fc54a0e1524ab1e48bc6068d3066c45215a138cc73b95') - -_sourcedirectory="$_projectname-$pkgver" - -build() { - cd "$srcdir/$_sourcedirectory/" - dune build -p "$_projectname" --verbose -} - -package() { - cd "$srcdir/$_sourcedirectory/" - DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir 'lib/ocaml' - - 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-ppx_derivers/repos/community-x86_64/PKGBUILD (from rev 1068266, ocaml-ppx_derivers/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-11 12:36:19 UTC (rev 1068267) @@ -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='ppx_derivers' +pkgname="ocaml-$_projectname" +pkgver=1.2.1 +pkgrel=7 +pkgdesc='Shared deriving plugin registry' +arch=('x86_64') +url="https://github.com/ocaml-ppx/$_projectname" +license=('BSD') +depends=('ocaml>=4.13.1') +makedepends=('dune') +options=('!strip') +source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/$pkgver.tar.gz") +sha256sums=('b6595ee187dea792b31fc54a0e1524ab1e48bc6068d3066c45215a138cc73b95') + +_sourcedirectory="$_projectname-$pkgver" + +build() { + cd "$srcdir/$_sourcedirectory/" + dune build -p "$_projectname" --verbose +} + +package() { + cd "$srcdir/$_sourcedirectory/" + DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir 'lib/ocaml' + + 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" +}