diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-12-17 23:16:04 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-12-18 23:32:48 +0100 |
commit | 73590f8dee25dd7785a05803dce4ea74de2019e1 (patch) | |
tree | 8d7121154a8446cb77e25274ce93492bb09d50a8 /sec-keys/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild | |
parent | Move {app-crypt → sec-keys}/openpgp-keys-python (diff) | |
download | gentoo-73590f8dee25dd7785a05803dce4ea74de2019e1.tar.gz gentoo-73590f8dee25dd7785a05803dce4ea74de2019e1.tar.bz2 gentoo-73590f8dee25dd7785a05803dce4ea74de2019e1.zip |
Move {app-crypt → sec-keys}/openpgp-keys-rust
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sec-keys/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild')
-rw-r--r-- | sec-keys/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sec-keys/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild b/sec-keys/openpgp-keys-rust/openpgp-keys-rust-20210504.ebuild new file mode 100644 index 000000000000..7ac4c33144ca --- /dev/null +++ b/sec-keys/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}/}") +} |