void-packages/srcpkgs/routinator/template

31 lines
981 B
Bash

# Template file for 'routinator'
pkgname=routinator
version=0.12.1
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=8150fe544f89205bb2d65bca46388f055cf13971d3163fe17508bf231f9ab8bc
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
}