summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2023-10-10 14:38:28 -0400
committerIonen Wolkens <ionen@gentoo.org>2023-10-10 16:18:12 -0400
commite6c641dab775ddb23915dd3f20ca03c77a5a679c (patch)
treed95cc3e1a29279cd947556c580d1dd2cf7f66802 /x11-terms/kitty/kitty-9999.ebuild
parentwww-client/qutebrowser: fix VariableScope (diff)
downloadgentoo-e6c641dab775ddb23915dd3f20ca03c77a5a679c.tar.gz
gentoo-e6c641dab775ddb23915dd3f20ca03c77a5a679c.tar.bz2
gentoo-e6c641dab775ddb23915dd3f20ca03c77a5a679c.zip
x11-terms/kitty: fix VariableScope
Would probably be simpler if the eclass could handle BROOT by itself. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-terms/kitty/kitty-9999.ebuild')
-rw-r--r--x11-terms/kitty/kitty-9999.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-terms/kitty/kitty-9999.ebuild b/x11-terms/kitty/kitty-9999.ebuild
index 884afab7f454..b5fe9c792ba6 100644
--- a/x11-terms/kitty/kitty-9999.ebuild
+++ b/x11-terms/kitty/kitty-9999.ebuild
@@ -16,7 +16,6 @@ else
https://dev.gentoo.org/~ionen/distfiles/${P}-vendor.tar.xz
verify-sig? ( https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz.sig )
"
- VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/kovidgoyal.gpg"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
fi
@@ -87,8 +86,10 @@ src_unpack() {
cd "${S}" || die
edo go mod vendor
else
- use verify-sig &&
+ if use verify-sig; then
+ local VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/kovidgoyal.gpg
verify-sig_verify_detached "${DISTDIR}"/${P}.tar.xz{,.sig}
+ fi
default
fi
}