From 116efddfc264a16c203ee534fa46644f0c204c64 Mon Sep 17 00:00:00 2001 From: Klara Modin Date: Sun, 21 Aug 2022 20:17:05 +0200 Subject: [PATCH] routinator: build and install manual --- srcpkgs/routinator/template | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 }