diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-05-04 16:03:58 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-05-04 16:13:53 -0700 |
commit | 7f8599060ac7b05af207211ca6379b1285a7038e (patch) | |
tree | 370909346ff2b1eb4340baf6e761aa35ff9e1ae8 /app-crypt/openpgp-keys-rust | |
parent | profiles/arch/amd64: mask openjfx for stable again (diff) | |
download | gentoo-7f8599060ac7b05af207211ca6379b1285a7038e.tar.gz gentoo-7f8599060ac7b05af207211ca6379b1285a7038e.tar.bz2 gentoo-7f8599060ac7b05af207211ca6379b1285a7038e.zip |
app-crypt/openpgp-keys-rust: new package
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'app-crypt/openpgp-keys-rust')
-rw-r--r-- | app-crypt/openpgp-keys-rust/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/openpgp-keys-rust/metadata.xml | 12 | ||||
-rw-r--r-- | app-crypt/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild | 21 |
3 files changed, 34 insertions, 0 deletions
diff --git a/app-crypt/openpgp-keys-rust/Manifest b/app-crypt/openpgp-keys-rust/Manifest new file mode 100644 index 000000000000..619aa6a1e8f7 --- /dev/null +++ b/app-crypt/openpgp-keys-rust/Manifest @@ -0,0 +1 @@ +DIST rust-key.gpg.ascii 5326 BLAKE2B d64f3afe75786535c6218b378e11f6e9d2ab585dfb98d72e039ed529b27671ff4338d1aa4fb5920f96d6e3d5416b72e273a862c955cb4b30788e4cc60e6b937a SHA512 a8b557e3cc23824b2a21b75ebdfb2cc1bff94ca0359ec13da2ce99398977d913639ab7bcf67d7cfb511510ca76038f243ad2eacff8a2e49435246128b2ee5cb8 diff --git a/app-crypt/openpgp-keys-rust/metadata.xml b/app-crypt/openpgp-keys-rust/metadata.xml new file mode 100644 index 000000000000..7dadd5ecbfd7 --- /dev/null +++ b/app-crypt/openpgp-keys-rust/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>gyakovlev@gentoo.org</email> + <name>Georgy Yakovlev</name> + </maintainer> + <maintainer type="project"> + <email>rust@gentoo.org</email> + <name>Rust</name> + </maintainer> +</pkgmetadata> diff --git a/app-crypt/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild b/app-crypt/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild new file mode 100644 index 000000000000..7ac4c33144ca --- /dev/null +++ b/app-crypt/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild @@ -0,0 +1,21 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Rust Language Tag and Release Signing Key" +HOMEPAGE="https://forge.rust-lang.org/infra/other-installation-methods.html" +SRC_URI="https://static.rust-lang.org/rust-key.gpg.ascii" +# https://keybase.io/rust/pgp_keys.asc?fingerprint=108f66205eaeb0aaa8dd5e1c85ab96e6fa1be5fe + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86" + +S="${WORKDIR}" + +src_install() { + local files=( ${A} ) + insinto /usr/share/openpgp-keys + newins - rust.asc < <(cat "${files[@]/#/${DISTDIR}/}") +} |