From e88daf18e9c6b610831ff8fb35cabf17a7a27c0e Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Thu, 26 Sep 2024 20:14:04 +0200 Subject: app-portage/bosun: depend on sec-keys/signify-keys-oriole-systems --- app-portage/bosun/bosun-1.4.0-r2.ebuild | 46 +++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 app-portage/bosun/bosun-1.4.0-r2.ebuild (limited to 'app-portage/bosun/bosun-1.4.0-r2.ebuild') diff --git a/app-portage/bosun/bosun-1.4.0-r2.ebuild b/app-portage/bosun/bosun-1.4.0-r2.ebuild new file mode 100644 index 0000000..363b343 --- /dev/null +++ b/app-portage/bosun/bosun-1.4.0-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_METHOD="signify" +inherit verify-sig + +DESCRIPTION="Manage portage roles with stow(8)" +HOMEPAGE="https://git.oriole.systems/bosun" +SRC_URI=" + https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz + verify-sig? ( + https://git.oriole.systems/${PN}/snapshot/${P}.tar.gz.asc + -> ${P}.sha.sig + ) +" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="amd64 x86" +RESTRICT="mirror" + +DEPEND="app-admin/stow" +RDEPEND="${DEPEND}" +BDEPEND="verify-sig? ( sec-keys/signify-keys-oriole-systems )" + +VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/signify-keys/oriole-systems-20240330.pub" + +src_unpack() { + if use verify-sig; then + cp "${DISTDIR}"/${P}.{sha.sig,tar.gz} "${WORKDIR}" || die + verify-sig_verify_signed_checksums \ + ${P}.sha.sig sha256 ${P}.tar.gz + fi + default +} + +src_compile() { :; } + +src_install() { + emake PREFIX=/usr DESTDIR="${D}" install + + insinto /usr/share/fish/vendor_completions.d + doins contrib/completion/bosun.fish +} -- cgit v1.2.3-2-gb3c3