summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-09-01 04:38:43 +0100
committerSam James <sam@gentoo.org>2023-09-01 04:38:43 +0100
commit8f31dd406b3415e1fd1b1fce7292a00f6d329bf2 (patch)
treea38388ed31fbaefb63b6ec5df94e3fba355df443 /app-text
parentsec-keys/openpgp-keys-gentoo-developers: add 20230828 (diff)
downloadgentoo-8f31dd406b3415e1fd1b1fce7292a00f6d329bf2.tar.gz
gentoo-8f31dd406b3415e1fd1b1fce7292a00f6d329bf2.tar.bz2
gentoo-8f31dd406b3415e1fd1b1fce7292a00f6d329bf2.zip
app-text/ansifilter: fix verify-sig w/ USE=gui
Closes: https://bugs.gentoo.org/913373 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/ansifilter/ansifilter-2.20.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-text/ansifilter/ansifilter-2.20.ebuild b/app-text/ansifilter/ansifilter-2.20.ebuild
index b1590e9ecb61..9ea5074bc8d7 100644
--- a/app-text/ansifilter/ansifilter-2.20.ebuild
+++ b/app-text/ansifilter/ansifilter-2.20.ebuild
@@ -31,6 +31,14 @@ BDEPEND="verify-sig? ( sec-keys/openpgp-keys-andresimon )"
DOCS=( ChangeLog.adoc README.adoc )
+src_unpack() {
+ if use verify-sig ; then
+ verify-sig_verify_detached "${DISTDIR}"/${P}.tar.bz2{,.asc}
+ fi
+
+ default
+}
+
src_prepare() {
default