# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8


DESCRIPTION="Rewrite of Sakakis buildkernel for creating secureboot EFI kernel with LUKS and LVM"
HOMEPAGE="https://gitlab.com/Xoores/buildkernel-next"

SRC_URI="https://gitlab.com/Xoores/${PN}/-/archive/${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"

RESTRICT="mirror"
LICENSE="Unlicense"
SLOT="0"


DEPEND="
	sys-kernel/dracut
	sys-boot/efibootmgr
	app-crypt/sbsigntools
	app-arch/cpio
	sys-apps/util-linux"
RDEPEND="${DEPEND}"


src_install()
{
	exeinto "/usr/bin"
	dobin "${PN}"
}