diff options
author | Daniel Peukert | 2022-06-14 20:43:14 +0200 |
---|---|---|
committer | Daniel Peukert | 2022-06-14 20:43:14 +0200 |
commit | 9a87bab7cf188f12a620035063a2068cf709dcc4 (patch) | |
tree | 993a302a7f98937e0d4ac7b01e7e401da366d384 | |
parent | da6db0be20195f29f0a4803a4a553d655288f7bb (diff) | |
download | aur-9a87bab7cf188f12a620035063a2068cf709dcc4.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_string pkgdesc = Ppx extension for string interpolation pkgver = 0.15.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/janestreet/ppx_string arch = x86_64 arch = i686 @@ -16,7 +16,7 @@ pkgbase = ocaml-ppx_string depends = ocaml-ppx_base>=0.15.0 depends = ocaml-ppxlib>=0.23.0 options = !strip - source = ocaml-ppx_string-0.15.0-1.tar.gz::https://github.com/janestreet/ppx_string/archive/v0.15.0.tar.gz + source = ocaml-ppx_string-0.15.0-2.tar.gz::https://github.com/janestreet/ppx_string/archive/v0.15.0.tar.gz sha512sums = bb1819017a6c25d581854e8487a0e5535fe282ec421c91e662c310c0d0aa7704be65484b3f2e721b29409e0eb68f72528e60380e036af066b3b1f1f11ea6cd5e pkgname = ocaml-ppx_string @@ -2,7 +2,7 @@ _projectname='ppx_string' pkgname="ocaml-$_projectname" pkgver='0.15.0' -pkgrel='1' +pkgrel='2' pkgdesc='Ppx extension for string interpolation' arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/janestreet/$_projectname" @@ -22,11 +22,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" |