diff options
author | Wolfgang Müller | 2025-03-08 12:20:01 +0100 |
---|---|---|
committer | Wolfgang Müller | 2025-03-08 12:20:01 +0100 |
commit | 7a4b4b0944f4c4825a80d8a40741c1d8531506a4 (patch) | |
tree | 2f331081160557d64784f4917e37846c005852e8 /app-admin/kern/kern-0.6.1.ebuild | |
parent | 7d3289a2cb5ed81821ddf2953e3d5d401cb207d9 (diff) | |
download | pramantha-7a4b4b0944f4c4825a80d8a40741c1d8531506a4.tar.gz |
Diffstat (limited to 'app-admin/kern/kern-0.6.1.ebuild')
-rw-r--r-- | app-admin/kern/kern-0.6.1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-admin/kern/kern-0.6.1.ebuild b/app-admin/kern/kern-0.6.1.ebuild new file mode 100644 index 0000000..c46c219 --- /dev/null +++ b/app-admin/kern/kern-0.6.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_METHOD="signify" +inherit verify-sig + +DESCRIPTION="Configure, build, and install kernels on Gentoo Linux" +HOMEPAGE="https://git.oriole.systems/kern" +SRC_URI=" + https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz + verify-sig? ( + https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz.asc + -> ${P}.sha.sig + ) +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="amd64 x86" +RESTRICT="mirror" + +RDEPEND="${DEPEND} + app-admin/eclean-kernel" +BDEPEND="verify-sig? ( sec-keys/signify-keys-oriole-systems )" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/oriole-systems-20240330.pub" + +src_unpack() { + if use verify-sig; then + cp "${DISTDIR}"/${P}.{sha.sig,tar.gz} "${WORKDIR}" || die + verify-sig_verify_signed_checksums \ + ${P}.sha.sig sha256 ${P}.tar.gz + fi + default +} + +src_compile() { :; } + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" install + + insinto /usr/share/fish/vendor_completions.d + doins contrib/completion/kern.fish +} |