vp-build/srcpkgs/zfsbootmenu/template

22 lines
837 B
Bash

# Template file for 'zfsbootmenu'
pkgname=zfsbootmenu
version=2.0.0
revision=2
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=466496e896a992fea9d46c55e48c6fcec1ab62b7022476571f0c41c015e31b13
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}
}