diff options
author | Daniel Peukert | 2022-06-14 20:31:16 +0200 |
---|---|---|
committer | Daniel Peukert | 2022-06-14 20:31:16 +0200 |
commit | 3a8da48450ed81596b3ce888f364f7e04a89c62b (patch) | |
tree | 749f57cfb4c8b9f744e482af5714fc92317b1743 | |
parent | 15d618b26b8b8d8aa894758bd8f97220f1b0ddfc (diff) | |
download | aur-3a8da48450ed81596b3ce888f364f7e04a89c62b.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-core pkgdesc = Industrial strength alternative to OCaml's standard library pkgver = 0.15.0 - pkgrel = 1 + pkgrel = 2 epoch = 1 url = https://github.com/janestreet/core arch = x86_64 @@ -34,7 +34,7 @@ pkgbase = ocaml-core depends = ocaml-typerep>=0.15.0 depends = ocaml-variantslib>=0.15.0 options = !strip - source = ocaml-core-1:0.15.0-1.tar.gz::https://github.com/janestreet/core/archive/v0.15.0.tar.gz + source = ocaml-core-1:0.15.0-2.tar.gz::https://github.com/janestreet/core/archive/v0.15.0.tar.gz sha512sums = a73a3c1c6f0ade9a9e49917bb896e62afc4fda44dd90ffa99ef9ba24debe7166b4fe1b374500a044cad8318d12f250de7fe2dd935015efde379cf91a2241f51b pkgname = ocaml-core @@ -3,7 +3,7 @@ _projectname='core' pkgname="ocaml-$_projectname" pkgver='0.15.0' -pkgrel='1' +pkgrel='2' epoch='1' pkgdesc="Industrial strength alternative to OCaml's standard library" 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 for _copy in 'MLton-license.txt' 'strftime.js-licence.txt' 'THIRD-PARTY.txt'; do install -Dm644 "$_copy" "$pkgdir/usr/share/doc/$pkgname/$_copy" |