void-packages/srcpkgs/hashboot/template

27 lines
717 B
Bash

# Template file for 'hashboot'
pkgname=hashboot
version=0.9.9
revision=1
archs=noarch
hostmakedepends="asciidoc"
short_desc="Check integrity of files in /boot, mbr and bios"
maintainer="teldra <teldra@rotce.de>"
license="Hugware"
homepage="https://github.com/tastytea/hashboot"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=adcd781f12f20300dd2383ae5e6935407261ea6225741d7be143cecb28a19ba5
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
}