holgersson-overlay/app-crypt/archlinux-keyring/archlinux-keyring-20240313.ebuild
Nils Freydank bc4a019895
app-crypt/archlinux-keyring: Bump to 20240313
This bump switches the upstream URL to their release archives.

Signed-off-by: Nils Freydank <nils.freydank@posteo.de>
2024-04-14 13:38:37 +02:00

37 lines
1.1 KiB
Bash

# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
DESCRIPTION="GnuPG keyring of Archlinux developer keys"
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"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
BDEPEND="app-crypt/sequoia-sq"
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
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
}
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 ""
}