From 4a9cf1973c3f81943389660831307b8d4e6133cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Tue, 25 Oct 2022 07:23:00 +0700 Subject: [PATCH] libreoffice: move source linking to extract phase They're technically in extraction phase anyway. --- srcpkgs/libreoffice/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libreoffice/template b/srcpkgs/libreoffice/template index bd0d2331910..27b72eb2dbe 100644 --- a/srcpkgs/libreoffice/template +++ b/srcpkgs/libreoffice/template @@ -6,7 +6,7 @@ build_style=meta make_build_target="build" nocross="Several dependencies are nocross=yes" -hostmakedepends="automake flex git gperf hyphen icu libtool openldap which gettext xz +hostmakedepends="automake flex gperf hyphen icu libtool openldap which gettext xz perl-Archive-Zip pkg-config qt5-qmake sane ucpp unzip zip python3-setuptools fontforge python3-lxml qt6-base-devel gtk4-devel gobject-introspection gnupg" makedepends="CoinMP-devel apr-devel avahi-libs-devel clucene-devel @@ -378,7 +378,7 @@ _add_lang zh-CN "Simplified Chinese (Peoples Republic of China)" zh_CN _add_lang zh-TW "Traditional Chinese (Taiwan)" zh_TW _add_lang zu "Zulu" -post_fetch() { +post_extract() { local srcdistdir=${XBPS_SRCDISTDIR}/${pkgname}-${version} pkg mkdir -p ${wrksrc}/external/tarballs for pkg in ${skip_extraction} libreoffice-{dictionaries,help,translations}-${version}.tar.xz ; do @@ -416,6 +416,7 @@ do_configure() { # the build system tries to call curl or wget, we can catch any invocations here and add them to distfiles ln -sf /bin/true ${XBPS_WRAPPERDIR}/curl ln -sf /bin/true ${XBPS_WRAPPERDIR}/wget + ln -sf /bin/false ${XBPS_WRAPPERDIR}/git export QT6DIR=/usr/lib/qt6