void-packages/srcpkgs/u-boot-menu/template

18 lines
541 B
Bash

# Template file for 'u-boot-menu'
pkgname=u-boot-menu
version=0.2
revision=1
conf_files="/etc/default/extlinux"
short_desc="Create an u-boot menu with currently available kernels"
maintainer="Remi Pommarel <repk@triplefau.lt>"
license="Public Domain"
homepage="https://www.voidlinux.org"
do_install() {
vinstall ${FILESDIR}/extlinux.default 644 etc/default extlinux
vinstall ${FILESDIR}/kernel.d/extlinux 750 \
etc/kernel.d/post-install 60-extlinux
vinstall ${FILESDIR}/kernel.d/extlinux 750 \
etc/kernel.d/post-remove 60-extlinux
}