gentoo/sec-keys/openpgp-keys-apache-tomcat/openpgp-keys-apache-tomcat-11.ebuild
Eli Schwartz 44f7c07b9e
sec-keys/openpgp-keys-apache-tomcat: adapt to eclass SLOT handling
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2025-08-11 01:35:28 -04:00

26 lines
679 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
SEC_KEYS_VALIDPGPKEYS=(
'A9C5DF4D22E99998D9875A5110C01C5A2F6059E7:markt:manual'
'48F8E69F6390C9F25CFEDCD268248959359E722B:remm:manual'
)
inherit sec-keys
DESCRIPTION="OpenPGP keys used by tomcat.apache.org"
HOMEPAGE="https://tomcat.apache.org/download-11.cgi"
SRC_URI="https://downloads.apache.org/tomcat/tomcat-$(ver_cut 1)/KEYS -> ${P}-KEYS.asc"
S="${WORKDIR}"
LICENSE="public-domain"
SLOT="${PV}"
KEYWORDS="amd64 ~arm64"
src_install() {
sec-keys_src_install
mv "${ED}"/usr/share/openpgp-keys/{apache-tomcat-${SLOT},tomcat-${SLOT}.apache.org}.asc || die
}