1 # Maintainer: Jürgen Hötzel <juergen@archlinux.org>
6 pkgdesc='Library for binding to C libraries using pure OCaml'
8 url=https://github.com/ocamllabs/ocaml-integers
11 makedepends=('dune' 'ocaml-topkg' 'ocaml-findlib' 'ocaml-compiler-libs>=4.12.0' 'ocamlbuild' 'opam')
12 source=("$pkgname-$pkgver.tar.gz::https://github.com/ocamllabs/$pkgname/archive/$pkgver.tar.gz")
13 sha256sums=('b0116f785d62d03ad8873bdaededcdc637aeca6709318ed343f9cc5568bfa1f2')
18 dune build --profile release
24 opam-installer --prefix="${pkgdir}/usr" \
25 --libdir="${pkgdir}$(ocamlc -where)" \
26 --docdir="${pkgdir}/usr/share/doc" \
27 --stubsdir="${pkgdir}$(ocamlc -where)/stublibs" \
28 ./_build/default/integers.install
29 install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE.md