void-packages/srcpkgs/zfsbootmenu/template

23 lines
879 B
Bash

# Template file for 'zfsbootmenu'
pkgname=zfsbootmenu
version=2.3.0
revision=2
build_style=gnu-makefile
make_build_target="zbm-release"
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/refs/tags/v${version}.tar.gz"
checksum=8f103353a1dd0d3ee7338fe8c6bf0dc336217dc85998e27e6829e6cb71a966a0
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}
}