extra/libreoffice-fresh to 6.3.2-4

This commit is contained in:
Kevin Mihelich 2019-11-14 13:48:03 +00:00
parent 23cdd14219
commit c5a3f0273d

View file

@ -20,7 +20,7 @@ pkgbase=libreoffice-fresh
pkgname=('libreoffice-fresh-sdk' 'libreoffice-fresh')
_LOver=6.3.2.2
pkgver=6.3.2
pkgrel=2
pkgrel=4
arch=('x86_64')
license=('LGPL3')
url="https://www.libreoffice.org/"
@ -62,7 +62,8 @@ source=(${_mirror}/libreoffice{,-help,-translations}-${_LOver}.tar.xz{,.asc}
${_additional_source_url2}/884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-opens___.ttf
${_additional_source_url2}/185d60944ea767075d27247c3162b3bc-unowinreg.dll
make-pyuno-work-with-system-wide-module-install.diff
libreoffice-fresh.sh libreoffice-fresh.csh)
libreoffice-fresh.sh libreoffice-fresh.csh
libreoffice-poppler-0.82.patch::"https://github.com/LibreOffice/core/commit/2eadd46a.patch")
noextract=(35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
@ -103,7 +104,8 @@ sha256sums=('407da27b18f10e8beda6a9c7137273098ddfd59503e502d99e239ff7fb07bd75'
'eafde646a7dbe46d20c291685b0beac2382174d78d66ee990e229a1bf6e6cec6'
'c463654a73ecfbc242ff109726fb4faecdbfb3d91affafe919b24bea65afb563'
'c1e199f7767a4f42d9a95fc942cda4cf47737c7d67e6f334679c9b2e3e271dc2'
'07c28ff8f5258abfe4338efccbdfb1dd35892bd00a2ed7f53b1fc2263f71a8b6')
'07c28ff8f5258abfe4338efccbdfb1dd35892bd00a2ed7f53b1fc2263f71a8b6'
'd649a07b38af95e9012633e71829fef3001e8a5830544ce7e91856df27f69c4b')
prepare() {
@ -131,6 +133,9 @@ prepare() {
esac
ARCH_FLAGS="$ARCH_FLAGS $i"
done
# fix build with poppler 0.82
patch -p1 -i ../libreoffice-poppler-0.82.patch
}
build() {
@ -319,11 +324,11 @@ package_libreoffice-fresh() {
install -m644 "${srcdir}"/libreoffice-fresh.{sh,csh} "${pkgdir}"/etc/profile.d/
# make pyuno find its modules
install -dm755 "${pkgdir}"/usr/lib/python3.7/site-packages
install -dm755 "${pkgdir}"/usr/lib/python3.8/site-packages
ln -svf /usr/lib/libreoffice/program/uno.py \
"${pkgdir}"/usr/lib/python3.7/site-packages/uno.py
"${pkgdir}"/usr/lib/python3.8/site-packages/uno.py
ln -svf /usr/lib/libreoffice/program/unohelper.py \
"${pkgdir}"/usr/lib/python3.7/site-packages/unohelper.py
"${pkgdir}"/usr/lib/python3.8/site-packages/unohelper.py
# add a symlink required for gnome-documents; FS#51887
# https://lists.freedesktop.org/archives/libreoffice/2016-March/073787.html