gentoo-zh/app-crypt/archlinux-keyring/archlinux-keyring-20231222.ebuild
Yongxiang Liang f091525264 app-crypt/archlinux-keyring: add 20231222
Signed-off-by: Yongxiang Liang <tanekliang@gmail.com>
2023-12-25 15:52:36 +08:00

30 lines
856 B
Bash

# Copyright 1999-2023 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"
SRC_URI="https://gitlab.archlinux.org/archlinux/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-2" # "GPL" for the Arch linux package
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="app-crypt/sequoia-sq"
src_compile(){
emake build
}
src_install(){
emake PREFIX='/usr' DESTDIR="${D}" 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 ""
}