35 lines
861 B
Bash
35 lines
861 B
Bash
# Template file for 'peshming'
|
|
pkgname=peshming
|
|
version=0.5.1
|
|
revision=2
|
|
build_style=cargo
|
|
depends="libcap-progs"
|
|
short_desc="Prometheus exporter for background icmp pings"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="AGPL-3.0-only"
|
|
homepage="https://git.jcg.re/jcgruenhage/peshming"
|
|
distfiles="https://git.jcg.re/jcgruenhage/peshming/archive/v${version}.tar.gz"
|
|
checksum=887ef53f4523cc1370f37c71244ecd1c654a2b02516b33d6e4f4f69345947bba
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
ppc64*) ;;
|
|
ppc*) broken="missing AtomicU64";;
|
|
esac
|
|
|
|
pre_build() {
|
|
export PESHMING_MAN_DIR=man
|
|
export PESHMING_COMPLETIONS_DIR=completions
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vdoc README.md
|
|
vsconf config.toml.sample
|
|
|
|
vcompletion "completions/_peshming" zsh
|
|
vcompletion "completions/peshming.fish" fish
|
|
vcompletion "completions/peshming.bash" bash
|
|
|
|
vman "man/peshming.1"
|
|
}
|