void-packages/srcpkgs/zfsbootmenu/template

22 lines
836 B
Bash

# Template file for 'zfsbootmenu'
pkgname=zfsbootmenu
version=1.12.0
revision=1
build_style=gnu-makefile
conf_files="/etc/zfsbootmenu/config.yaml"
depends="dracut zfs kexec-tools fzf bash pigz mbuffer ncurses
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/zbm-dev/zfsbootmenu"
changelog="https://raw.githubusercontent.com/zbm-dev/zfsbootmenu/master/CHANGELOG.md"
distfiles="https://github.com/zbm-dev/zfsbootmenu/archive/v${version}.tar.gz"
checksum=b90b1a055fe5744fb34a49718b49265e800f8f6e19456c3fa3619a48a036f359
post_install() {
vlicense LICENSE
vmkdir usr/share/examples/${pkgname}
vcopy etc/zfsbootmenu/config.yaml usr/share/examples/${pkgname}
}