# Template file for 'hashboot'
pkgname=hashboot
version=0.9.13
revision=1
archs=noarch
hostmakedepends="asciidoc"
short_desc="Check integrity of files in /boot, mbr & (mostly) core-/libreboot bios"
maintainer="teldra <teldra@rotce.de>"
license="Hugware"
homepage="https://github.com/tastytea/hashboot"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=ce159458e1c4b1486511da1f8f02d8c45398cd707757491ce84f4f107d68567a

do_build() {
	cd ${wrksrc}
	./build_manpage.sh
}

do_install() {
	vinstall kernel-hook 755 etc/kernel.d/post-install 99-hashboot
	vinstall kernel-hook 755 etc/kernel.d/post-remove 99-hashboot
	vinstall init/voidlinux-coreservice 644 etc/runit/core-services 04-hashboot.sh
	vman hashboot.1
	vbin hashboot
	vlicense LICENSE
}
