# Template file for 'coq'
pkgname=coq
version=8.13.0
revision=1
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=06445dbd6cb3c8a2e4e957dbd12e094d609a62fcb0c8c3cad0cd1fdedda25c9b
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
}
