1 |
commit: fc31d90f8830afa4f68ae0627a6e2395a4ac36e1 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 16 03:51:42 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 16 03:58:04 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc31d90f |
7 |
|
8 |
app-crypt/openpgp-keys-alexbarton: initial import |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
app-crypt/openpgp-keys-alexbarton/Manifest | 1 + |
13 |
app-crypt/openpgp-keys-alexbarton/metadata.xml | 9 +++++++++ |
14 |
.../openpgp-keys-alexbarton-20210416.ebuild | 20 ++++++++++++++++++++ |
15 |
3 files changed, 30 insertions(+) |
16 |
|
17 |
diff --git a/app-crypt/openpgp-keys-alexbarton/Manifest b/app-crypt/openpgp-keys-alexbarton/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..7eeaf4a9aea |
20 |
--- /dev/null |
21 |
+++ b/app-crypt/openpgp-keys-alexbarton/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST openpgp-keys-alexbarton-20210416.asc 43394 BLAKE2B a7eb52b880f20abb49c1262e89629349f1ed8ff464aa44f24e45b8f6de73e40ba2cf9e13de9e10e7e0f48917eb40d9b233b67ec68348bc839b46e1d8225a8b02 SHA512 eee74a49226db5818e4b48cac253798ca44da9897c088fae99a92052a90226fc6825761dcf171bbcf99dbb938c4259a7a642267e0e735bc165dd8df0b3902b1f |
24 |
|
25 |
diff --git a/app-crypt/openpgp-keys-alexbarton/metadata.xml b/app-crypt/openpgp-keys-alexbarton/metadata.xml |
26 |
new file mode 100644 |
27 |
index 00000000000..a1af484833b |
28 |
--- /dev/null |
29 |
+++ b/app-crypt/openpgp-keys-alexbarton/metadata.xml |
30 |
@@ -0,0 +1,9 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <email>sam@g.o</email> |
36 |
+ <name>Sam James</name> |
37 |
+ </maintainer> |
38 |
+ <stabilize-allarches/> |
39 |
+</pkgmetadata> |
40 |
|
41 |
diff --git a/app-crypt/openpgp-keys-alexbarton/openpgp-keys-alexbarton-20210416.ebuild b/app-crypt/openpgp-keys-alexbarton/openpgp-keys-alexbarton-20210416.ebuild |
42 |
new file mode 100644 |
43 |
index 00000000000..456f647c353 |
44 |
--- /dev/null |
45 |
+++ b/app-crypt/openpgp-keys-alexbarton/openpgp-keys-alexbarton-20210416.ebuild |
46 |
@@ -0,0 +1,20 @@ |
47 |
+# Copyright 1999-2021 Gentoo Authors |
48 |
+# Distributed under the terms of the GNU General Public License v2 |
49 |
+ |
50 |
+EAPI=7 |
51 |
+ |
52 |
+DESCRIPTION="OpenPGP keys used by Alex Barton" |
53 |
+HOMEPAGE="https://github.com/alexbarton https://keybase.io/alexbarton" |
54 |
+SRC_URI="https://keybase.io/alexbarton/pgp_keys.asc?fingerprint=f5b9f52ed90920d2520376a2c24a0f637e364856 -> ${P}.asc" |
55 |
+S="${WORKDIR}" |
56 |
+ |
57 |
+LICENSE="public-domain" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
60 |
+ |
61 |
+src_install() { |
62 |
+ local files=( ${A} ) |
63 |
+ |
64 |
+ insinto /usr/share/openpgp-keys |
65 |
+ newins - alexbarton.asc < <(cat "${files[@]/#/${DISTDIR}/}") |
66 |
+} |