void-packages/srcpkgs/zfsbootmenu/template

22 lines
837 B
Bash

# Template file for 'zfsbootmenu'
pkgname=zfsbootmenu
version=2.1.0
revision=1
build_style=gnu-makefile
depends="dracut zfs kexec-tools fzf bash pigz mbuffer ncurses
perl-Sort-Versions perl-boolean perl-YAML-PP"
short_desc="ZFS bootloader for root-on-ZFS systems"
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=5c266aa33953f05d60f62265be06bbe1fa2139b734f311329d5e01197ab3c1a0
conf_files="/etc/zfsbootmenu/config.yaml /etc/zfsbootmenu/mkinitcpio.conf"
post_install() {
vlicense LICENSE
vmkdir usr/share/examples/${pkgname}
vcopy etc/zfsbootmenu/config.yaml usr/share/examples/${pkgname}
}