# Template file for 'linit'
pkgname=linit
version=0.1.0
revision=1
build_style=gnu-makefile
make_dirs="
 /etc/linit 0750 root root
 /usr/libexec/linit 0750 root root"
short_desc="Strictly functional init system for Linux"
maintainer="Cameron Nemo <cam@nohom.org>"
license="BSD-2-Clause"
homepage="https://gitlab.com/chinstrap/linit"
distfiles="${homepage}/-/archive/${version}/${pkgname}-${version}.tar.gz"
checksum=33af80ba0528d87e82f585f6a98ff4347d63caa6e44c60ce7ba70f7653f9c201

do_install() {
	vbin linit
	vbin lreboot
	for hook in boot sigint sigpwr; do
		vsconf "example-hooks/${hook}"
	done
	vlicense LICENSE
}
