diff options
author | Daniel Peukert | 2022-06-14 20:37:11 +0200 |
---|---|---|
committer | Daniel Peukert | 2022-06-14 20:37:11 +0200 |
commit | 6bbf02c4b8d9e627a66cb8c5b5cbf9c29ae9d563 (patch) | |
tree | 59ddac5a2e0f6f1c9db13295d4bfef96504a85b1 | |
parent | d58629675825b6600fe34bd71e3c2caded290b3f (diff) | |
download | aur-6bbf02c4b8d9e627a66cb8c5b5cbf9c29ae9d563.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_custom_printf pkgdesc = Printf-style format-strings for user-defined string conversion pkgver = 0.15.0 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://github.com/janestreet/ppx_custom_printf arch = x86_64 @@ -17,7 +17,7 @@ pkgbase = ocaml-ppx_custom_printf depends = ocaml-ppx_sexp_conv>=0.15.0 depends = ocaml-ppxlib>=0.23.0 options = !strip - source = ocaml-ppx_custom_printf-1:0.15.0-1.tar.gz::https://github.com/janestreet/ppx_custom_printf/archive/v0.15.0.tar.gz + source = ocaml-ppx_custom_printf-1:0.15.0-2.tar.gz::https://github.com/janestreet/ppx_custom_printf/archive/v0.15.0.tar.gz sha512sums = f8776e9037f491b120b0d43ac9b76231c422b9e5f0d7c3f75efdadf9d4ec401266d61f441a2c7c831c99fac10ac98d84e4e62eda44e6fc86f2fa60ead5ecbc86 pkgname = ocaml-ppx_custom_printf @@ -3,7 +3,7 @@ _projectname='ppx_custom_printf' pkgname="ocaml-$_projectname" pkgver='0.15.0' -pkgrel='1' +pkgrel='2' epoch='1' pkgdesc='Printf-style format-strings for user-defined string conversion' 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" |