sec-keys/openpgp-keys-aacid: port to sec-keys.eclass for verification support

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
Eli Schwartz
2025-08-05 23:59:11 -04:00
parent 65bf34f7a3
commit bfda11ef55

View File

@@ -1,21 +1,17 @@
# Copyright 2022-2023 Gentoo Authors
# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
SEC_KEYS_VALIDPGPKEYS=(
'CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7:aacid:manual'
)
inherit sec-keys
DESCRIPTION="OpenPGP keys used by Albert Astals Cid"
HOMEPAGE="https://poppler.freedesktop.org/"
# Mirrored from https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xca262c6c83de4d2fb28a332a3a6a4db839eaa6d7
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-0xCA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7.asc"
S="${WORKDIR}"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
src_install() {
local files=( ${A} )
insinto /usr/share/openpgp-keys
newins - aacid.asc < <(cat "${files[@]/#/${DISTDIR}/}" || die)
}