You are not logged in.

#1 2009-05-01 15:10:02

Gallaecio
Member
From: Vigo (Spain)
Registered: 2009-04-10
Posts: 50
Website

openoffice-gl package

Hi

I don't usually use OpenOffice, but since Koffice can't open MS files, I use it sometimes. Today I realiced there's no Galician localization package neither in the official repos nor in AUR. So, I decided to make a PKGFILE for AUR. I used openoffice-es as model, found out where to download Galician lokalization files, but seems the package doesn't work (it doesn't install at all).

Could someone tell me what am I doing wrong? Is it about architecture?

# Maintainer: Adrián Chaves Fernández aka Gallaecio <adriyetichaves@gmail.com>

pkgname=openoffice-gl
pkgver=3.0.0
pkgrel=1
pkgdesc="OpenOffice.org Galician localization files"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://www.openoffice.org"
makedepends=('rpmextract')
depends=('openoffice-base')
source=(http://descargas.mancomun.org:8080/openoffice/libreeengalego/OpenOffice.org_3.0.0/Linux/OOo_3.0.0_LinuxIntel_install_gl.tar.gz)

build() {
  cd ${srcdir}/*native_packed*/RPMS
  for i in *.rpm
    do rpmextract.sh $i
  done

  # install openoffice language files
  mkdir -p ${pkgdir}/opt/openoffice/basis-link
  cp -R opt/openoffice.org/basis3.0/* ${pkgdir}/opt/openoffice/basis-link
  cp -R opt/openoffice.org3/* ${pkgdir}/opt/openoffice/basis-link
  chown root:root -R ${pkgdir}/opt/openoffice
}

I choose the source from http://gl.openoffice.org/Descargar/index.html (not really sure if it was the right one).
Althoung there's not md5sum (yet), I'm sure that was not the problem (since there was md5sum when I makepkg the PKGFILE).

Thanks.

Last edited by Gallaecio (2009-05-01 15:10:31)

Offline

Board footer

Powered by FluxBB