summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-06-11 11:40:53 +0200
committerMichał Górny <mgorny@gentoo.org>2022-06-11 13:07:01 +0200
commit2809587b6847149b7f74c977a243baff764274f3 (patch)
tree55900168530c14ed339b8f7c3e49219ee0cdd1f1 /sec-keys/openpgp-keys-llvm
parentllvm.org.eclass: Switch to upstream tarballs in 14.0.5+ (diff)
downloadgentoo-2809587b6847149b7f74c977a243baff764274f3.tar.gz
gentoo-2809587b6847149b7f74c977a243baff764274f3.tar.bz2
gentoo-2809587b6847149b7f74c977a243baff764274f3.zip
sec-keys/openpgp-keys-llvm: New package, v14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sec-keys/openpgp-keys-llvm')
-rw-r--r--sec-keys/openpgp-keys-llvm/Manifest1
-rw-r--r--sec-keys/openpgp-keys-llvm/metadata.xml7
-rw-r--r--sec-keys/openpgp-keys-llvm/openpgp-keys-llvm-14.ebuild22
3 files changed, 30 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-llvm/Manifest b/sec-keys/openpgp-keys-llvm/Manifest
new file mode 100644
index 000000000000..4c0a2802ba6c
--- /dev/null
+++ b/sec-keys/openpgp-keys-llvm/Manifest
@@ -0,0 +1 @@
+DIST openpgp-keys-llvm-14-tstellar.asc 4738 BLAKE2B 670fbce2610686c5dd71efd8111c892adac8a8b76d3500be42711b53067f68d74a9d950574897597e6141352a9d82825e1d3980abd501794687babfc169afd35 SHA512 5774097b61bd2adb028b9366a6e5baea5919e1058a8826b52cb76f3cdc309170d0950ba2db2d4f3617f666d5bf4386917c02c84ec207419b50d60606ad345138
diff --git a/sec-keys/openpgp-keys-llvm/metadata.xml b/sec-keys/openpgp-keys-llvm/metadata.xml
new file mode 100644
index 000000000000..3ad9b7a7c0eb
--- /dev/null
+++ b/sec-keys/openpgp-keys-llvm/metadata.xml
@@ -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>
diff --git a/sec-keys/openpgp-keys-llvm/openpgp-keys-llvm-14.ebuild b/sec-keys/openpgp-keys-llvm/openpgp-keys-llvm-14.ebuild
new file mode 100644
index 000000000000..e44eb321289c
--- /dev/null
+++ b/sec-keys/openpgp-keys-llvm/openpgp-keys-llvm-14.ebuild
@@ -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)
+}