void-packages/srcpkgs/routinator/template

27 lines
828 B
Bash

# Template file for 'routinator'
pkgname=routinator
version=0.11.2
revision=1
build_style=cargo
depends="rsync"
short_desc="Resource Public Key Infrastructure (RPKI) validator"
maintainer="Cameron Nemo <cnemo@tutanota.com>"
license="BSD-3-Clause"
homepage="https://rpki.readthedocs.io/"
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=00f825c53168592da0285e8dbd228018e77248d458214a2c0f86cd0ca45438f5
case "$XBPS_TARGET_MACHINE" in
x86_64*|i686*|arm*|aarch64*) ;;
*) broken="ftbfs in ring" ;;
esac
post_install() {
vdoc README.md
vman doc/routinator.1
vinstall etc/routinator.conf.system-service 0644 etc/routinator routinator.conf
vlicense LICENSE
}