Skip to content

Commit

Permalink
routinator: build and install manual
Browse files Browse the repository at this point in the history
  • Loading branch information
klarasm committed Aug 21, 2022
1 parent fd1ab6b commit 116efdd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions srcpkgs/routinator/template
Expand Up @@ -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 <cnemo@tutanota.com>"
Expand All @@ -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
Expand All @@ -29,4 +35,8 @@ post_install() {
vlicense LICENSE

vdoc $FILESDIR/README.voidlinux

for doc in doc/manual/build/text/*; do
vdoc $doc;
done
}

0 comments on commit 116efdd

Please sign in to comment.