31 lines
964 B
Bash
31 lines
964 B
Bash
# Template file for 'zfsbootmenu'
|
|
pkgname=zfsbootmenu
|
|
version=1.10.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
conf_files="/etc/zfsbootmenu/config.yaml"
|
|
depends="dracut zfs kexec-tools 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=0bbeefe5adf6105104b5c771cf4a5352a08476d8b847a08fa9de627b6ac932d5
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
x86_64*|i686*|armv[67]*|aarch64*|ppc64le*)
|
|
depends+=" fzf"
|
|
;;
|
|
*)
|
|
depends+=" skim"
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
vmkdir usr/share/examples/${pkgname}
|
|
vcopy etc/zfsbootmenu/config.yaml usr/share/examples/${pkgname}
|
|
}
|