diff options
author | Daniel Peukert | 2022-06-14 20:34:56 +0200 |
---|---|---|
committer | Daniel Peukert | 2022-06-14 20:34:56 +0200 |
commit | ee98cc36d8968bc8dedd1b61f603d81765833360 (patch) | |
tree | 075845f6de3da91a155aaa54181241a06603c7e9 /PKGBUILD | |
parent | 100073902e1981c0e336c4ca13a9f63459601c83 (diff) | |
download | aur-ee98cc36d8968bc8dedd1b61f603d81765833360.tar.gz |
Fix dun calls, sha256 -> sha512
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -3,7 +3,7 @@ _projectname='ocplib-endian' pkgname="ocaml-$_projectname" pkgver='1.2' -pkgrel='1' +pkgrel='2' pkgdesc='Optimised functions to read and write int16/32/64 from strings, bytes and bigarrays' arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/OCamlPro/$_projectname" @@ -28,11 +28,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 install -Dm644 'COPYING.txt' "$pkgdir/usr/share/doc/$pkgname/COPYING.txt" |