diff --git a/sec-keys/openpgp-keys-linux-libre/Manifest b/sec-keys/openpgp-keys-linux-libre/Manifest new file mode 100644 index 0000000..f0cecdc --- /dev/null +++ b/sec-keys/openpgp-keys-linux-libre/Manifest @@ -0,0 +1 @@ +DIST BCB7CF877E7D47A7.asc 1213 BLAKE2B 5c7cd96062200e3419915a95977e3201299b52f35886de504cc669b5b5192519805f53301f7d70c4f0ac5a261733eb169a1372c1da1a48b0cd86a42ecbfbccae SHA512 1cc1b5bc86cf5b853e1b03f8d06e2080aadefb4b6b8af55f23a7b44afb57face718227c8401162fed2cbc394cf6fddcc65d121e313905b1acd16a4cf63d21e4b diff --git a/sec-keys/openpgp-keys-linux-libre/openpgp-keys-linux-libre-20221123.ebuild b/sec-keys/openpgp-keys-linux-libre/openpgp-keys-linux-libre-20221123.ebuild new file mode 100644 index 0000000..a0fbdb0 --- /dev/null +++ b/sec-keys/openpgp-keys-linux-libre/openpgp-keys-linux-libre-20221123.ebuild @@ -0,0 +1,20 @@ +# Copyright 2022 Gentoo Authors, projectmoon +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="OpenPGP keys used to sign Linux-libre-related packages" +HOMEPAGE="https://www.fsfla.org/ikiwiki/selibre/linux-libre/" +SRC_URI="https://linux-libre.fsfla.org/pub/linux-libre/SIGNING-KEY -> BCB7CF877E7D47A7.asc" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +S="${WORKDIR}" + +src_install() { + local files=( ${A} ) + insinto /usr/share/openpgp-keys + newins - linux-libre.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die) +}