diff --git a/srcpkgs/opam/template b/srcpkgs/opam/template index ca8ce86e6d7..d5a8406d23a 100644 --- a/srcpkgs/opam/template +++ b/srcpkgs/opam/template @@ -1,9 +1,10 @@ # Template file for 'opam' pkgname=opam -version=2.0.1 +version=2.0.2 revision=1 build_style=gnu-configure disable_parallel_build=yes +configure_args="--docdir=/usr/share/doc/${pkgname}" make_build_args="lib-ext all" make_check_target="tests" makedepends="curl ncurses-devel ocaml ocaml-findlib" @@ -14,5 +15,9 @@ maintainer="Leah Neukirchen " license="LGPL-3.0-only" homepage="http://opam.ocamlpro.com" distfiles="https://github.com/ocaml/${pkgname}/archive/${version}.tar.gz" -checksum=2342f1409cdb2e8561e3404a4aaf3e640456706f88de019507dc6c481c6bcee7 +checksum=8c0e7be3923ea30de1acfd95b71110c152cfaecbb0cb470295f651778c361de3 nocross=yes + +post_install() { + rm -rf ${DESTDIR}/usr/doc +}