libreoffice: move source linking to extract phase

They're technically in extraction phase anyway.
This commit is contained in:
Đoàn Trần Công Danh 2022-10-25 07:23:00 +07:00
parent 3445104366
commit 4a9cf1973c

View File

@ -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