mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/libreoffice-fresh to 6.3.3-2
This commit is contained in:
parent
4270885556
commit
7eb0dfde6d
2 changed files with 36 additions and 1 deletions
|
@ -20,7 +20,7 @@ pkgbase=libreoffice-fresh
|
|||
pkgname=('libreoffice-fresh-sdk' 'libreoffice-fresh')
|
||||
_LOver=6.3.3.2
|
||||
pkgver=6.3.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('x86_64')
|
||||
license=('LGPL3')
|
||||
url="https://www.libreoffice.org/"
|
||||
|
@ -62,6 +62,7 @@ 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
|
||||
soffice-template.desktop.in
|
||||
libreoffice-fresh.sh libreoffice-fresh.csh
|
||||
libreoffice-poppler-0.82.patch::"https://github.com/LibreOffice/core/commit/2eadd46a.patch")
|
||||
noextract=(35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
|
||||
|
@ -103,6 +104,7 @@ sha256sums=('d40ee5b29c9a0c2f0df2681f993b04a9f64e13d785fa7b7a1e8349b84149e5cf'
|
|||
'884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc'
|
||||
'eafde646a7dbe46d20c291685b0beac2382174d78d66ee990e229a1bf6e6cec6'
|
||||
'c463654a73ecfbc242ff109726fb4faecdbfb3d91affafe919b24bea65afb563'
|
||||
'd0be8099cbee3c9dfda694a828149b881c345b204ab68826f317580aafb50879'
|
||||
'c1e199f7767a4f42d9a95fc942cda4cf47737c7d67e6f334679c9b2e3e271dc2'
|
||||
'07c28ff8f5258abfe4338efccbdfb1dd35892bd00a2ed7f53b1fc2263f71a8b6'
|
||||
'd649a07b38af95e9012633e71829fef3001e8a5830544ce7e91856df27f69c4b')
|
||||
|
@ -343,6 +345,32 @@ package_libreoffice-fresh() {
|
|||
install -v -m644 "${srcdir}"/libreoffice-$_LOver/sysui/desktop/appstream-appdata/*.xml \
|
||||
"${pkgdir}"/usr/share/metainfo
|
||||
|
||||
# add kde filemanager templates; FS#61662 - file taken from Debian
|
||||
install -dm755 "${pkgdir}"/usr/share/templates/.source
|
||||
install -v -m644 "${srcdir}"/libreoffice-$_LOver/extras/source/shellnew/soffice.* \
|
||||
"${pkgdir}"/usr/share/templates/.source
|
||||
|
||||
cat "${srcdir}"/soffice-template.desktop.in \
|
||||
| sed -e "s/@APP@/Writer/" \
|
||||
| sed -e "s/@EXT@/odt/" \
|
||||
| sed -e "s/@TYPE@/text/" \
|
||||
> "${pkgdir}"/usr/share/templates/soffice.odt.desktop
|
||||
cat "${srcdir}"/soffice-template.desktop.in \
|
||||
| sed -e "s/@APP@/Calc/" \
|
||||
| sed -e "s/@EXT@/ods/" \
|
||||
| sed -e "s/@TYPE@/spreadsheet/" \
|
||||
> "${pkgdir}"/usr/share/templates/soffice.ods.desktop
|
||||
cat "${srcdir}"/soffice-template.desktop.in \
|
||||
| sed -e "s/@APP@/Impress/" \
|
||||
| sed -e "s/@EXT@/odp/" \
|
||||
| sed -e "s/@TYPE@/presentation/" \
|
||||
> "${pkgdir}"/usr/share/templates/soffice.odp.desktop
|
||||
cat "${srcdir}"/soffice-template.desktop.in \
|
||||
| sed -e "s/@APP@/Draw/" \
|
||||
| sed -e "s/@EXT@/odg/" \
|
||||
| sed -e "s/@TYPE@/drawing/" \
|
||||
> "${pkgdir}"/usr/share/templates/soffice.odg.desktop
|
||||
|
||||
# make all i18n lang packages with help section ('1') available to
|
||||
# fix "F1" not opening translated offline help opening in browser
|
||||
# see also /usr/lib/libreoffice/help/en-US/langnames.js
|
||||
|
|
7
extra/libreoffice-fresh/soffice-template.desktop.in
Normal file
7
extra/libreoffice-fresh/soffice-template.desktop.in
Normal file
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=LibreOffice @APP@ ...
|
||||
Comment=Enter LibreOffice @APP@ filename:
|
||||
Comment[de]=Name der LibreOffice @APP@-Datei eingeben:
|
||||
Type=Link
|
||||
URL=.source/soffice.@EXT@
|
||||
Icon=libreoffice-oasis-@TYPE@
|
Loading…
Reference in a new issue