void-packages/srcpkgs/zfsbootmenu/template

23 lines
843 B
Bash

# Template file for 'zfsbootmenu'
pkgname=zfsbootmenu
version=1.4.1
revision=1
archs=noarch
build_style=gnu-makefile
conf_files="/etc/zfsbootmenu/config.yaml"
depends="dracut zfs fzf kexec-tools bash pigz mbuffer
perl-Config-IniFiles perl-Sort-Versions perl-boolean perl-YAML-PP"
short_desc="ZFS Boot Environment menu, implemented in Dracut"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="MIT"
homepage="https://github.com/zdykstra/zfsbootmenu"
changelog="https://raw.githubusercontent.com/zdykstra/zfsbootmenu/master/CHANGELOG.md"
distfiles="https://github.com/zdykstra/zfsbootmenu/archive/v${version}.tar.gz"
checksum=1174454a1e0e22159e33da2eac83301fd2a1dfae7aa46b41ced5304c512a6847
post_install() {
vlicense LICENSE
vmkdir usr/share/examples/${pkgname}
vcopy etc/zfsbootmenu/config.yaml usr/share/examples/${pkgname}
}