[arch-commits] Commit in openoffice-fr/trunk (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Wed Oct 8 15:49:29 EDT 2008


    Date: Wednesday, October 8, 2008 @ 15:49:29
  Author: andyrtr
Revision: 14592

upgpkg: openoffice-fr 3.0.0-1

Modified:
  openoffice-fr/trunk/PKGBUILD

----------+
 PKGBUILD |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-08 19:44:59 UTC (rev 14591)
+++ PKGBUILD	2008-10-08 19:49:29 UTC (rev 14592)
@@ -3,26 +3,26 @@
 # Contributor: Sarah Hay <sarah at archlinux.org>
 
 pkgname=openoffice-fr
-pkgver=2.4.1
+pkgver=3.0.0
 pkgrel=1
 pkgdesc="OpenOffice french language files"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 license=('LGPL')
 url="http://www.openoffice.org"
 makedepends=('rpmextract')
 depends=('openoffice-base')
-source=(ftp://ftp-1.gwdg.de/pub/openoffice/extended/2.4.1rc2/OOo_2.4.1rc2_20080529_LinuxIntel_langpack_fr.tar.gz)
-md5sums=('45d7fbe0871f9939c696f92711bd18b8')
+source=(http://ftp-1.gwdg.de/pub/openoffice/extended/3.0.0rc4/OOo_3.0.0rc4_20080930_LinuxIntel_langpack_fr.tar.gz)
+md5sums=('122325494acd6d7084fadf0ac029badc')
 
 build() {
-  cd $startdir/src/OOH680_m17_native_packed-1_fr.9310/RPMS
+  cd ${srcdir}/*native_packed*/RPMS
   for i in *.rpm
-  do rpmextract.sh $i
+    do rpmextract.sh $i
   done
+
   # install openoffice language files
-  cd $startdir/src/OOH680_m17_native_packed-1_fr.9310/RPMS/opt
-  mkdir -p $startdir/pkg/opt
-  mv openoffice.org2.4 $startdir/pkg/opt/openoffice
-  chown root -R $startdir/pkg/opt/openoffice
-  chgrp root -R $startdir/pkg/opt/openoffice
+  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
 }




More information about the arch-commits mailing list