2024-04-14 13:36:18 +02:00
|
|
|
# Copyright 2020-2024 Gentoo Authors
|
2021-06-19 20:56:33 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-06-06 13:52:57 +02:00
|
|
|
EAPI="8"
|
2021-06-19 20:56:33 +02:00
|
|
|
|
|
|
|
DESCRIPTION="GnuPG keyring of Archlinux developer keys"
|
2024-04-14 13:36:18 +02:00
|
|
|
HOMEPAGE="https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/releases"
|
|
|
|
SRC_URI="https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/releases/${PV}/downloads/archlinux-keyring-${PV}.tar.gz"
|
2022-10-06 17:51:57 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
2021-06-19 20:56:33 +02:00
|
|
|
SLOT="0"
|
2022-02-09 23:02:03 +01:00
|
|
|
KEYWORDS="~amd64"
|
2021-06-19 20:56:33 +02:00
|
|
|
IUSE=""
|
|
|
|
|
2022-02-09 23:02:03 +01:00
|
|
|
BDEPEND="app-crypt/sequoia-sq"
|
2021-06-19 20:56:33 +02:00
|
|
|
|
2023-10-22 22:10:51 +02:00
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
|
|
|
|
# On non-systemd installations the service files are thrown
|
|
|
|
# directly into /. Hard-code the path as a quick and dirty solution.
|
|
|
|
# If it breaks for someone else, please complain, too and I'll revert it.
|
|
|
|
sed -i "s#\$\(shell pkgconf --variable systemd_system_unit_dir systemd\)#/usr/lib/systemd/system#" Makefile || die
|
|
|
|
}
|
|
|
|
|
2021-06-19 20:56:33 +02:00
|
|
|
src_install() {
|
2022-02-09 23:02:03 +01:00
|
|
|
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
|
2021-06-19 20:56:33 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
einfo ""
|
|
|
|
einfo "This package only installs the keyring files while sys-apps/pacman"
|
|
|
|
einfo "initializes these keyrings to actually use it. This is a different"
|
|
|
|
einfo "behaviour from Archlinux, but is necessary to avoid circular deps."
|
|
|
|
einfo ""
|
|
|
|
}
|