Commit 58081ce5 authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] ocaml-integers: import as ocaml-ctypes new deps

parent c453fbfc
Pipeline #3369 skipped
# COntributions from Arch:
# Maintainer: Jürgen Hötzel <juergen@archlinux.org>
pkgname=ocaml-integers
pkgver=0.2.2
pkgrel=1
pkgdesc='Library for binding to C libraries using pure OCaml'
arch=('x86_64')
url=https://github.com/ocamllabs/ocaml-integers
license=('custom')
options=('!strip')
makedepends=('ocaml-topkg' 'ocaml-findlib' 'ocaml-compiler-libs' 'ocamlbuild' 'opam')
source=("$pkgname-$pkgver.tar.gz::https://github.com/ocamllabs/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('f966342ad19682d4d5ade1e202388a81')
build() {
cd ${pkgname}-$pkgver
make
}
package() {
cd ${pkgname}-$pkgver
opam-installer --prefix="${pkgdir}/usr" \
--libdir="${pkgdir}$(ocamlc -where)" \
--docdir="${pkgdir}/usr/share/doc" \
--stubsdir="${pkgdir}$(ocamlc -where)/stublibs"
install -Dm644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE.md
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment