diff --git a/srcpkgs/routinator/template b/srcpkgs/routinator/template index 916f939b8b1e13..0b28f054e6ce0b 100644 --- a/srcpkgs/routinator/template +++ b/srcpkgs/routinator/template @@ -3,6 +3,7 @@ pkgname=routinator version=0.11.2 revision=2 build_style=cargo +hostmakedepends="python3-Sphinx python3-toml python3-sphinx_rtd_theme python3-pip" depends="rsync" short_desc="Resource Public Key Infrastructure (RPKI) validator" maintainer="Cameron Nemo " @@ -21,6 +22,11 @@ case "$XBPS_TARGET_MACHINE" in *) broken="ftbfs in ring" ;; esac +post_build() { + pip install --user -r doc/manual/source/requirements.txt + make -C doc/manual text +} + post_install() { vsv routinator vdoc README.md @@ -29,4 +35,8 @@ post_install() { vlicense LICENSE vdoc $FILESDIR/README.voidlinux + + for doc in doc/manual/build/text/*; do + vdoc $doc; + done }