# Template file for 'coq'
pkgname=coq
version=8.13.2
revision=3
hostmakedepends="camlp5 ocaml ocaml-findlib ocaml-num ocaml-zarith"
short_desc="Proof assistant written in OCaml"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="LGPL-2.1-only"
homepage="https://coq.inria.fr"
distfiles="https://github.com/coq/coq/archive/V${version}.tar.gz"
checksum=1e7793d8483f1e939f62df6749f843df967a15d843a4a5acb024904b76e25a14
nopie=yes
nocross=yes

case "$XBPS_TARGET_MACHINE" in
	ppc64*) ;;
	ppc*) broken="R_PPC_REL24 relocation out of range";;
esac

do_configure() {
	./configure -prefix ${DESTDIR}/usr -coqide no
}

do_build() {
	make
}

do_install() {
	make install
}
