void-packages/srcpkgs/hashboot/template
teldra 4a33a282ae hashboot: unbreak aarch64
reverted to github mirror
2019-06-25 14:16:27 +02:00

26 lines
839 B
Bash

# Template file for 'hashboot'
pkgname=hashboot
version=0.9.14
revision=1
archs=noarch
wrksrc=${pkgname}
hostmakedepends="asciidoc"
short_desc="Check integrity of files in /boot, mbr & (mostly) coreboot bios"
maintainer="teldra <teldra@rotce.de>"
license="custom: Hugware"
homepage="https://schlomp.space/tastytea/hashboot"
distfiles="https://schlomp.space/tastytea/hashboot/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=3c355017249b7d5b94f44db26215a9ebe6426109e362f6549cfeb2ef50ca47f0
do_build() {
./build_manpage.sh
}
do_install() {
vinstall hooks/kernel-postinst 755 etc/kernel.d/post-install 99-hashboot
vinstall hooks/kernel-postinst 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
}