holgersson-overlay/app-crypt/archlinux-keyring/archlinux-keyring-20200622.ebuild
Nils Freydank c0f046f3ab
app-crypt/archlinux-keyring: Bump to 20200622
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
2020-07-19 22:47:07 +02:00

36 lines
934 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="GnuPG keyring of Archlinux developer keys"
HOMEPAGE="https://git.archlinux.org/archlinux-keyring.git"
SRC_URI="https://sources.archlinux.org/other/${PN}/${P}.tar.gz"
LICENSE="GPL-2" # GPL?
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
src_prepare() {
# bluntly remove the makefile.
rm -f Makefile || die "Couldn't remove Makefile"
default
}
src_install() {
# Take the directory of sys-apps/pacman to have a sane default of
# upstream respectivly Archlinux.
insinto /usr/share/pacman/keyrings/
doins archlinux{.gpg,-trusted,-revoked}
}
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 ""
}