diff options
author | Daniel Peukert | 2022-06-14 20:42:20 +0200 |
---|---|---|
committer | Daniel Peukert | 2022-06-14 20:42:20 +0200 |
commit | d0c986734854c44fa53430bee93420c7d58ad9eb (patch) | |
tree | 2ff83c206284fdd1af5dc71b3ea4eff25b47a080 | |
parent | 614ba59b9dc498f1e058300d2102c21dc510cccb (diff) | |
download | aur-d0c986734854c44fa53430bee93420c7d58ad9eb.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-ppx_sexp_conv pkgdesc = Generation of S-expression conversion functions from type definitions pkgver = 0.15.1 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://github.com/janestreet/ppx_sexp_conv arch = x86_64 @@ -17,7 +17,7 @@ pkgbase = ocaml-ppx_sexp_conv depends = ocaml-ppxlib>=0.26.0 depends = ocaml-sexplib0>=0.15.0 options = !strip - source = ocaml-ppx_sexp_conv-1:0.15.1-1.tar.gz::https://github.com/janestreet/ppx_sexp_conv/archive/v0.15.1.tar.gz + source = ocaml-ppx_sexp_conv-1:0.15.1-2.tar.gz::https://github.com/janestreet/ppx_sexp_conv/archive/v0.15.1.tar.gz sha512sums = f2b669e7c7bbbc8dd4978b47b73662dd0195ae85cdd71596485211cb5ab4daedcae9be4b33796674320e0d324b7ee9f90d3b219212be98ed792e3a89ccf8c41b pkgname = ocaml-ppx_sexp_conv @@ -3,7 +3,7 @@ _projectname='ppx_sexp_conv' pkgname="ocaml-$_projectname" pkgver='0.15.1' -pkgrel='1' +pkgrel='2' epoch='1' pkgdesc='Generation of S-expression conversion functions from type definitions' arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') @@ -24,11 +24,7 @@ build() { 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 install -dm755 "$pkgdir/usr/share/licenses/$pkgname" ln -sf "/usr/share/doc/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" |