void-packages/srcpkgs/hashboot/template

27 lines
741 B
Bash

# Template file for 'hashboot'
pkgname=hashboot
version=0.9.11
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=69ed380c662454413a35c93eea7700a25b57e57fe4e46da0077ec8e1027fdf13
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 initscript.runit 644 etc/runit/core-services 04-hashboot.sh
vman hashboot.1
vbin hashboot
vlicense LICENSE
}