diff --git a/srcpkgs/ocaml-zarith/template b/srcpkgs/ocaml-zarith/template index 8c5485e6981..dfef566ae30 100644 --- a/srcpkgs/ocaml-zarith/template +++ b/srcpkgs/ocaml-zarith/template @@ -1,7 +1,7 @@ # Template file for 'ocaml-zarith' pkgname=ocaml-zarith -version=1.12 -revision=4 +version=1.13 +revision=1 build_style=configure make_check_target="tests" hostmakedepends="perl" @@ -12,13 +12,16 @@ maintainer="Leah Neukirchen " license="LGPL-2.0-only,OCaml-LGPL-linking-exception" homepage="https://github.com/ocaml/zarith" distfiles="https://github.com/ocaml/zarith/archive/release-${version}.tar.gz" -checksum=cc32563c3845c86d0f609c86d83bf8607ef12354863d31d3bffc0dacf1ed2881 +checksum=a5826d33fea0103ad6e66f92583d8e075fb77976de893ffdd73ada0409b3f83b nocross=yes disable_parallel_build=yes post_configure() { sed -i 's/INSTALLDIR=/&$(DESTDIR)/' Makefile } +pre_install() { + mkdir -p ${DESTDIR}/usr/lib/ocaml/stublibs +} post_install() { vcopy META usr/lib/ocaml/zarith }