diff --git a/app-crypt/archlinux-keyring/Manifest b/app-crypt/archlinux-keyring/Manifest index c6055cf..715e42a 100644 --- a/app-crypt/archlinux-keyring/Manifest +++ b/app-crypt/archlinux-keyring/Manifest @@ -1 +1,2 @@ DIST archlinux-keyring-20210110.tar.gz 992575 BLAKE2B 3c59c34dd10426ba39d15ec1920e25b830351ec910d26081a7af2500e12891c0ceb40372d6b327d8d848677364afe16f26e3cbf8bc002bdd7db123fc0a2b0106 SHA512 c9ea4ab07457dd90e098fb84822e34a09cd60cf68cc41089a8fd1ecff2c2b832ef63e0707d9ddbb49e934264931bbe438a7348de6769af33a5309af5b9b76ba3 +DIST archlinux-keyring-20210616.tar.gz 1004639 BLAKE2B 7211b56b9ea714ae5ad56e5eaa1804abfc94edd629fbb9e74ac885547b9de3fc975d792576a15f583c266b318b617733d97be7a4b0ea4e844651547115e08225 SHA512 0f314136232183cc00cda53f9987148b8d40643bfd686643bd2085a20c405754ebc4f2912866b576937e8759358df4f571885137aa9548bbbdb82adb70eb6268 diff --git a/app-crypt/archlinux-keyring/archlinux-keyring-20210616.ebuild b/app-crypt/archlinux-keyring/archlinux-keyring-20210616.ebuild new file mode 100644 index 0000000..7ad01de --- /dev/null +++ b/app-crypt/archlinux-keyring/archlinux-keyring-20210616.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2021 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" +SRC_URI="https://sources.archlinux.org/other/${PN}/${P}.tar.gz" +LICENSE="GPL-2" # "GPL" for the Arch linux package +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 "" +}