sec-keys/openpgp-keys-danielstenberg: Added package.

Signed-off-by: Jonathan Davies <jpds@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Jonathan Davies
2022-03-30 17:17:56 +01:00
committed by Sam James
parent b67982c70f
commit eba1f2257d
3 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST danielstenberg-27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2.asc 4741 BLAKE2B bdba040ab0d6b213bac63f0777c8c6feaab20afef8750db34d9cf4859af1cf4a6ed08eac6f6430bad303b9a6ec54635ab54edddfd929af13d32dd923748be651 SHA512 435cf46e65a051c8f2b5ef5bede857a4c76ddf72854cef52b14569eaaf08ad7c17279eb6e736f8c668a4ef16a0b1caebf10534543d09d31e4bda5bd4e3ab4b81

View File

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

View File

@@ -0,0 +1,23 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="OpenPGP keys used by Daniel Stenberg"
HOMEPAGE="https://daniel.haxx.se/"
# see https://daniel.haxx.se/address.html
SRC_URI="
https://daniel.haxx.se/mykey.asc
-> danielstenberg-27EDEAF22F3ABCEB50DB9A125CC908FDB71E12C2.asc
"
S=${WORKDIR}
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
src_install() {
local files=( ${A} )
insinto /usr/share/openpgp-keys
newins - danielstenberg.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
}