EAPI=8 KEYWORDS="amd64" SLOT="0" HOMEPAGE="https://github.com/bell07/bashscripts-kernel_cfg" DESCRIPTION='Kernel configuration snippets (eselect version)' COMMIT="6a2b9f99d04939adda89430b8e83e99ae76e49c2" SRC_URI="${HOMEPAGE}/archive/${COMMIT}.zip -> ${P}.zip" RESTRICT="mirror" S="${WORKDIR}/bashscripts-kernel_cfg-${COMMIT}" src_install() { insinto /etc/kernel/config.avail for i in "${S}"/cfg/*; do doins "$i" done insinto /usr/share/kernel_cfg doins -r "${S}"/distro dosbin "${S}"/kernel_cfg.sh dosbin "${S}"/kernel_build.sh insinto /usr/share/eselect/modules doins "${S}"/kernel-cfg.eselect insinto /etc newins settings.env.example kernel-cfg.env dodoc "${S}"/README.md }