void-packages/srcpkgs/routinator/template

31 lines
981 B
Bash

# Template file for 'routinator'
pkgname=routinator
version=0.14.0
revision=1
build_style=cargo
depends="rsync"
short_desc="Resource Public Key Infrastructure (RPKI) validator"
maintainer="Cameron Nemo <cam@nohom.org>"
license="BSD-3-Clause"
homepage="https://routinator.docs.nlnetlabs.nl/"
changelog="https://raw.githubusercontent.com/NLnetLabs/routinator/main/Changelog.md"
distfiles="https://github.com/NLnetLabs/routinator/archive/v${version}.tar.gz"
conf_files="/etc/routinator/routinator.conf"
checksum=861e90f395344be19880485185df47e8fd258cc583b82be702af660b466955cb
system_accounts="_routinator"
_routinator_homedir="/var/lib/routinator"
make_dirs="/var/lib/routinator 0755 _routinator _routinator"
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac
post_install() {
vsv routinator
vdoc README.md
vman doc/routinator.1
vinstall etc/routinator.conf.system-service 0644 etc/routinator routinator.conf
vlicense LICENSE
}