# Template file for 'dinit'
pkgname=dinit
version=0.22.0
revision=1
build_style=configure
configure_args="--sbindir=/usr/bin --shutdown-prefix=dinit- --enable-shutdown
 --enable-cgroups --enable-capabilities --enable-ioprio --enable-oom-adj
 --platform=Linux"
hostmakedepends="m4"
makedepends="libcap-devel"
short_desc="Service manager and init system"
maintainer="dkwo <npiazza@disroot.org>"
license="Apache-2.0"
homepage="https://davmac.org/projects/dinit/"
changelog="https://raw.githubusercontent.com/davmac314/dinit/master/NEWS"
distfiles="https://github.com/davmac314/dinit/archive/v${version}.tar.gz"
checksum=926d431e1c596a214612a1fc31c66fc0356630c5759edc313fe7153eaf462ffc

post_install() {
	vmkdir usr/share/doc/dinit
	vcopy doc/linux/* usr/share/doc/dinit/
	vdoc doc/getting_started.md
}
