# Template file for 'mathcomp' pkgname=mathcomp version=1.17.0 revision=3 build_wrksrc="mathcomp" build_style=gnu-makefile hostmakedepends="coq ocaml-findlib" short_desc="Mathematical Components Library for the Coq proof assistant" maintainer="Leah Neukirchen " license="CECILL-B" homepage="https://github.com/math-comp/math-comp" distfiles="https://github.com/math-comp/math-comp/archive/${pkgname}-${version}.tar.gz" checksum=1779bcdac5d23d90997627364a5943ef4883c6eb54d67ddbb1dfbe6b7795a188 nocross="ocaml" post_patch() { vsed -i -e 's/which/command -v/g' Makefile.common } do_install() { make install DESTDIR="${DESTDIR}" 'COQLIB:=$(shell coqtop -where)/' vlicense ../CeCILL-B }