From 42c727f1a2634fc619fc14207ef863441174466c Mon Sep 17 00:00:00 2001 From: Mike Pagano Date: Wed, 5 Oct 2022 10:51:47 -0400 Subject: dev-util/idea-community: Move dir renaming to src_unpack Closes: https://bugs.gentoo.org/872275 Signed-off-by: Mike Pagano --- dev-util/idea-community/idea-community-2022.2.2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dev-util') diff --git a/dev-util/idea-community/idea-community-2022.2.2.ebuild b/dev-util/idea-community/idea-community-2022.2.2.ebuild index 7003ee45888c..b3686f263ea6 100644 --- a/dev-util/idea-community/idea-community-2022.2.2.ebuild +++ b/dev-util/idea-community/idea-community-2022.2.2.ebuild @@ -39,7 +39,9 @@ PATCHES=( "${FILESDIR}/${PN}-jdk.patch" ) -post_src_unpack() { +src_unpack() { + + default_src_unpack if [ ! -d "$S" ]; then einfo "Renaming source directory to predictable name..." mv $(ls "${WORKDIR}") "idea-IC-${PV}" || die -- cgit v1.2.3-65-gdbad