summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/kitty/kitty-0.29.2-r1.ebuild')
-rw-r--r--x11-terms/kitty/kitty-0.29.2-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11-terms/kitty/kitty-0.29.2-r1.ebuild b/x11-terms/kitty/kitty-0.29.2-r1.ebuild
index 4d460614b658..5399ebaefc11 100644
--- a/x11-terms/kitty/kitty-0.29.2-r1.ebuild
+++ b/x11-terms/kitty/kitty-0.29.2-r1.ebuild
@@ -15,7 +15,6 @@ else
https://github.com/kovidgoyal/kitty/releases/download/v${PV}/${P}.tar.xz
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
@@ -78,8 +77,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
}