summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-06-10 22:04:12 +0200
committerFlorian Schmaus <flow@gentoo.org>2024-06-10 22:07:38 +0200
commitea2385536ad5f703d32c0278f3fc500713a98c22 (patch)
tree7337e37e65e0eb9c6e5ad730bfc5a8b0d945d936 /app-text
parentapp-text/texlive-core: re-enable tests (diff)
downloadgentoo-ea2385536ad5f703d32c0278f3fc500713a98c22.tar.gz
gentoo-ea2385536ad5f703d32c0278f3fc500713a98c22.tar.bz2
gentoo-ea2385536ad5f703d32c0278f3fc500713a98c22.zip
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@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/texlive-core/texlive-core-2023-r7.ebuild8
1 files 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.