commit: e56cdacd4cf600ac4d2501aaf4fadcddb45b1b31
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 7 10:24:37 2024 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 7 10:25:00 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e56cdacd
app-office/libreoffice-bin-debug: Fix src_unpack phase (PVR -> PV)
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../libreoffice-bin-debug-7.5.6.2-r1.ebuild | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git
a/app-office/libreoffice-bin-debug/libreoffice-bin-debug-7.5.6.2-r1.ebuild
b/app-office/libreoffice-bin-debug/libreoffice-bin-debug-7.5.6.2-r1.ebuild
index 5c1844501b9f..e66fb47d045e 100644
--- a/app-office/libreoffice-bin-debug/libreoffice-bin-debug-7.5.6.2-r1.ebuild
+++ b/app-office/libreoffice-bin-debug/libreoffice-bin-debug-7.5.6.2-r1.ebuild
@@ -60,8 +60,8 @@ S="${WORKDIR}"
QA_PREBUILT="/usr/*"
src_unpack() {
- einfo "Uncompressing distfile
${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz"
- xz -cd
"${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar.xz" >
"${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
+ einfo "Uncompressing distfile
${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz"
+ xz -cd
"${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar.xz" >
"${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
local patchname
use kde && patchname="-kde"
@@ -69,13 +69,13 @@ src_unpack() {
use java && patchname="${patchname}-java"
if [[ -n "${patchname}" ]]; then
- einfo "Patching distfile
${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar using
${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
- xdelta3 -d -s
"${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
"${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PVR}.xd3"
"${WORKDIR}/tmpdist.tar" || die
- mv "${WORKDIR}/tmpdist.tar"
"${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar" || die
+ einfo "Patching distfile
${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar using
${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3"
+ xdelta3 -d -s
"${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
"${DISTDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice${patchname}-${PV}.xd3"
"${WORKDIR}/tmpdist.tar" || die
+ mv "${WORKDIR}/tmpdist.tar"
"${WORKDIR}/${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar" || die
fi
- einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
- unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PVR}.tar"
+ einfo "Unpacking new ${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
+ unpack "./${ARCH}-${BASE_PACKAGENAME}-libreoffice-${PV}.tar"
}
src_configure() { :; }