# Template file for 'ifupdown-ng'
pkgname=ifupdown-ng
version=0.12.1
revision=1
build_style=gnu-makefile
make_build_args="all docs"
make_install_args="SBINDIR=/usr/bin"
hostmakedepends="scdoc"
checkdepends="kyua"
short_desc="Flexible ifup/ifdown implementation"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ISC"
homepage="https://github.com/ifupdown-ng/ifupdown-ng"
distfiles="https://github.com/ifupdown-ng/ifupdown-ng/archive/refs/tags/ifupdown-ng-${version}.tar.gz"
checksum=d42c8c18222efbce0087b92a14ea206de4e865d5c9dde6c0864dcbb2b45f2d85

conflicts="ifupdown"

post_install() {
	for man in doc/*.5 doc/*.7 doc/*.8; do
		vman "$man"
	done

	vlicense COPYING
}
