[arch-commits] Commit in openoffice-base/trunk (PKGBUILD)
andyrtr at archlinux.org
andyrtr at archlinux.org
Thu Jan 27 13:53:10 UTC 2011
Date: Thursday, January 27, 2011 @ 08:53:09
Author: andyrtr
Revision: 107916
prepare next build; use system makeflags(!distcc broke it); hide the printer menu entry; link unopkg
Modified:
openoffice-base/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-01-27 13:50:54 UTC (rev 107915)
+++ PKGBUILD 2011-01-27 13:53:09 UTC (rev 107916)
@@ -110,7 +110,7 @@
${_additional_source_url}/831126a1ee5af269923cfab6050769fe-mysql-connector-cpp.zip
${_additional_source_url}/067201ea8b126597670b5eff72e1f66c-mythes-1.2.0.tar.gz
${_additional_source_url}/cf8a6967f7de535ae257fa411c98eb88-mdds_0.3.0.tar.bz2)
-options=('!distcc' '!ccache')
+#options=('!distcc' '!ccache')
md5sums=('2a1d7855b8fc775ab830980fb849b5b2'
'e3a0b76dcd876f3d721ee7183729153d'
'9dce6faee2ca7bbef7921cab209f6be2'
@@ -228,7 +228,7 @@
# some speedups
echo ${MAKEFLAGS}
export SMP=${MAKEFLAGS/-j/}; echo ${SMP}
- export SMP="16"
+# export SMP="16"
MAXMODULESFLAG="-P${SMP}"
MAXPROCESSESFLAG="-P${SMP}"
export nodep=true
@@ -433,9 +433,9 @@
# make symlinks
cd ${pkgdir}/usr/bin
-# ln -s /usr/lib/openoffice/program/soffice soffice
ln -s /usr/lib/openoffice.org3/program/soffice openoffice
- ln -s /usr/lib/openoffice.org3/program/spadmin spadmin
+ ln -s /usr/lib/openoffice.org3/program/spadmin openoffice-printeradmin
+ ln -s /usr/lib/openoffice.org3/program/unopkg openoffice-unopkg
# link the mozilla-plugin
mkdir -p ${pkgdir}/usr/lib/mozilla/plugins/
@@ -447,6 +447,9 @@
for desktopz in *.desktop
do mv $desktopz openoffice-$desktopz
done
+ # hide the printer configuration tool that is not needed when we use cups
+ echo "NoDisplay=true" >> ${pkgdir}/usr/share/applications/openoffice-printeradmin.desktop
+
# fix for unixwrapper usage
ln -s /usr/lib/openoffice.org3/program/soffice.bin ${pkgdir}/usr/lib/openoffice.org3/program/openoffice.bin
}
More information about the arch-commits
mailing list