[arch-general] Light modification needed for future LibreOffice language package.

Frederic Bezies fredbezies at gmail.com
Sat May 28 08:07:33 EDT 2011


Hello.

I've built successfully LibreOffice 3.4.0rc2, using testing version of 
PKGBUILD and related files.

The only hard point was to make translation building too.

There is a light modification to be added in every single language 
package script.

Instead of having for every language :

cd "${srcdir}"/LibO_3.3.2rc2_Linux_x86_langpack-rpm_as/RPMS
   mkdir -p "${pkgdir}"/usr/lib/libreoffice/basis-link
   cp -R opt/libreoffice/basis${_oomainver}/* 
"${pkgdir}"/usr/lib/libreoffice/basis-link
   cp -R opt/libreoffice/{program,readmes} "${pkgdir}"/usr/lib/libreoffice

you must use - for 3.4.0rc2, needs to be adapted, first line at least :

cd "${srcdir}"/LibO_3.4.0rc2_Linux_x86_langpack-rpm_fr/RPMS
   mkdir -p "${pkgdir}"/usr/lib/libreoffice/basis-link
   cp -R opt/libreoffice${_oomainver}/basis${_oomainver}/* 
"${pkgdir}"/usr/lib/libreoffice/basis-link
   cp -R opt/libreoffice${_oomainver}/readmes 
"${pkgdir}"/usr/lib/libreoffice

Programs are not anymore in /opt/libreoffice, but in /opt/libreoffice/basis.

Just want to help. Feel free to copy / redirect this message where needed ;)

Have a good day.

-- 
Frederic Bezies - fredbezies at gmail.com
Blog : http://frederic.bezies.free.fr/blog/


More information about the arch-general mailing list