sec-keys/openpgp-keys-llvm: New package, v14

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-06-11 11:40:53 +02:00
parent 8f2b809efd
commit 2809587b68
3 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST openpgp-keys-llvm-14-tstellar.asc 4738 BLAKE2B 670fbce2610686c5dd71efd8111c892adac8a8b76d3500be42711b53067f68d74a9d950574897597e6141352a9d82825e1d3980abd501794687babfc169afd35 SHA512 5774097b61bd2adb028b9366a6e5baea5919e1058a8826b52cb76f3cdc309170d0950ba2db2d4f3617f666d5bf4386917c02c84ec207419b50d60606ad345138

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>llvm@gentoo.org</email>
</maintainer>
</pkgmetadata>

View File

@@ -0,0 +1,22 @@
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="OpenPGP keys used to sign LLVM releases"
HOMEPAGE="https://github.com/llvm/llvm-project/releases/tag/llvmorg-9.0.1/"
SRC_URI="
https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x474e22316abf4785a88c6e8ea2c794a986419d8a
-> ${P}-tstellar.asc
"
S="${WORKDIR}"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
src_install() {
local files=( ${A} )
insinto /usr/share/openpgp-keys
newins - llvm.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
}