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

andyrtr at archlinux.org andyrtr at archlinux.org
Thu Oct 9 03:33:11 UTC 2008


    Date: Wednesday, October 8, 2008 @ 23:33:11
  Author: andyrtr
Revision: 14694

upgpkg: openoffice-base 3.0.0-1

Modified:
  openoffice-base/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-08 23:14:34 UTC (rev 14693)
+++ PKGBUILD	2008-10-09 03:33:11 UTC (rev 14694)
@@ -184,7 +184,7 @@
 
 	# install binaries
 	if [ "$CARCH" = "x86_64" ]; then
-	  cp -R instsetoo_native/unxlngx6.pro/OpenOffice/native/install/en-US/linux-2.6-x86_64/buildroot/* ${pkgdir}/
+	        cp -R instsetoo_native/unxlngx6.pro/OpenOffice/native/install/en-US/linux-2.6-x86_64/buildroot/* ${pkgdir}/
 	 else 	cp -R instsetoo_native/unxlngi6.pro/OpenOffice/native/install/en-US/linux-2.6-intel/buildroot/* ${pkgdir}/
 	fi
 
@@ -215,7 +215,10 @@
 	ln -s ../../opt/openoffice/program/spadmin spadmin
 
 	# install all built dictionaries from source tree
-	pushd ${srcdir}/dictionaries/unxlngx6.pro/bin
+	if [ "$CARCH" = "x86_64" ]; then
+	       pushd ${srcdir}/dictionaries/unxlngx6.pro/bin
+  	  else pushd ${srcdir}/dictionaries/unxlngi6.pro/bin
+	fi
 	for i in `ls -1 dict-??.oxt`; do
 	  install -D -m644 $i ${pkgdir}/opt/openoffice/share/extension/install/$i || return 1
 	done




More information about the arch-commits mailing list