[arch-commits] Commit in openoffice-zh_cn/trunk (PKGBUILD)
andyrtr at archlinux.org
andyrtr at archlinux.org
Wed Oct 8 20:42:47 UTC 2008
Date: Wednesday, October 8, 2008 @ 16:42:47
Author: andyrtr
Revision: 14654
upgpkg: openoffice-zh_cn 3.0.0-1
Modified:
openoffice-zh_cn/trunk/PKGBUILD
----------+
PKGBUILD | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-10-08 20:38:58 UTC (rev 14653)
+++ PKGBUILD 2008-10-08 20:42:47 UTC (rev 14654)
@@ -3,26 +3,26 @@
# Contributor: Sarah Hay <sarah at archlinux.org>
pkgname=openoffice-zh_cn
-pkgver=2.4.1
+pkgver=3.0.0
pkgrel=1
pkgdesc="OpenOffice chinese simplified 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_zh-CN.tar.gz)
-md5sums=('50211d7de6e591717836323d66dc9467')
+source=(http://ftp-1.gwdg.de/pub/openoffice/extended/3.0.0rc4/OOo_3.0.0rc4_20080930_LinuxIntel_langpack_zh-CN.tar.gz)
+md5sums=('16f539bb41486963323995e33ba5da0c')
build() {
- cd $startdir/src/OOH680_m17_native_packed-1_zh-CN.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_zh-CN.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