diff options
author | Daniel Peukert | 2022-06-14 20:30:35 +0200 |
---|---|---|
committer | Daniel Peukert | 2022-06-14 20:30:35 +0200 |
commit | ccafacdfba01a36e4f843306a7c0d409e8517bc8 (patch) | |
tree | 4f689f6c4e074fd4e7b367ad6472c6453190300f | |
parent | 585e8197cd0de04a672290d74ac5534ba4eca072 (diff) | |
download | aur-ccafacdfba01a36e4f843306a7c0d409e8517bc8.tar.gz |
Fix dun calls, sha256 -> sha512
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 4 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = ocaml-bin_prot pkgdesc = A binary protocol generator pkgver = 0.15.0 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://github.com/janestreet/bin_prot arch = x86_64 @@ -21,7 +21,7 @@ pkgbase = ocaml-bin_prot depends = ocaml-ppx_sexp_conv>=0.15.0 depends = ocaml-ppx_variants_conv>=0.15.0 options = !strip - source = ocaml-bin_prot-1:0.15.0-1.tar.gz::https://github.com/janestreet/bin_prot/archive/v0.15.0.tar.gz + source = ocaml-bin_prot-1:0.15.0-2.tar.gz::https://github.com/janestreet/bin_prot/archive/v0.15.0.tar.gz sha512sums = 8e912988568c69b412937eaea7aee54ee3fe8bd751979df37bcbc827ced92b14004dcfd761e3d46c98602d53884a5151a1a6f11f2a5ebb1107571fb80bc11780 pkgname = ocaml-bin_prot @@ -3,7 +3,7 @@ _projectname='bin_prot' pkgname="ocaml-$_projectname" pkgver='0.15.0' -pkgrel='1' +pkgrel='2' epoch='1' pkgdesc='A binary protocol generator' arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') @@ -29,11 +29,7 @@ check() { package() { cd "$srcdir/$_sourcedirectory/" - DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '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/" + DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '/usr/lib/ocaml' --docdir '/usr/share/doc' --mandir '/usr/share/man' --release --verbose for _copy in 'COPYRIGHT.txt' 'THIRD-PARTY.txt'; do install -Dm644 "$_copy" "$pkgdir/usr/share/doc/$pkgname/$_copy" |