commit: ea2385536ad5f703d32c0278f3fc500713a98c22
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 10 20:04:12 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jun 10 20:07:38 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea238553
app-text/texlive-core: move src_unpack code into src_prepare
This allows us to use the default src_unpack() implementation.
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
app-text/texlive-core/texlive-core-2023-r7.ebuild | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/app-text/texlive-core/texlive-core-2023-r7.ebuild
b/app-text/texlive-core/texlive-core-2023-r7.ebuild
index 07f6c5a31e93..b2a21f09cf81 100644
--- a/app-text/texlive-core/texlive-core-2023-r7.ebuild
+++ b/app-text/texlive-core/texlive-core-2023-r7.ebuild
@@ -193,15 +193,11 @@ RDEPEND="
S="${WORKDIR}/${MY_P}"
BUILDDIR="${WORKDIR}/${P}_build"
-src_unpack() {
- default
-
- mkdir -p "${BUILDDIR}" || die "failed to create build dir"
-}
-
RELOC_TARGET=texmf-dist
src_prepare() {
+ mkdir "${BUILDDIR}" || die "failed to create build dir"
+
cd "${WORKDIR}" || die
# From texlive-module.eclass.