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

andyrtr at archlinux.org andyrtr at archlinux.org
Wed Oct 8 16:03:21 EDT 2008


    Date: Wednesday, October 8, 2008 @ 16:03:20
  Author: andyrtr
Revision: 14609

upgpkg: openoffice-ja 3.0.0-1

Modified:
  openoffice-ja/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-08 20:02:22 UTC (rev 14608)
+++ PKGBUILD	2008-10-08 20:03:20 UTC (rev 14609)
@@ -3,26 +3,26 @@
 # Contributor: Sarah Hay <sarah at archlinux.org>
 
 pkgname=openoffice-ja
-pkgver=2.4.1
+pkgver=3.0.0
 pkgrel=1
 pkgdesc="OpenOffice japan 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_ja.tar.gz)
-md5sums=('be71a8cb695b99a59348a179d833170f')
+source=(http://ftp-1.gwdg.de/pub/openoffice/extended/3.0.0rc4/OOo_3.0.0rc4_20080930_LinuxIntel_langpack_ja.tar.gz)
+md5sums=('0b70b122a9c32fec7af2c68d820ddf85')
 
 build() {
-  cd $startdir/src/OOH680_m17_native_packed-1_ja.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_ja.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