From 7af308bdc09a94323048a854612f08a9a4e51996 Mon Sep 17 00:00:00 2001 From: rudson Date: Sat, 8 Sep 2007 04:48:42 +0000 Subject: correção dos links do broffice 2.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1368 370017ae-e619-0410-ac65-c121f96126d4 --- app/office/broffice/broffice.SlackBuild | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'app/office') diff --git a/app/office/broffice/broffice.SlackBuild b/app/office/broffice/broffice.SlackBuild index 467a6f5b..36195aa9 100755 --- a/app/office/broffice/broffice.SlackBuild +++ b/app/office/broffice/broffice.SlackBuild @@ -118,7 +118,7 @@ cd .. # fix opt layout mkdir $PKG/usr mv $PKG/opt/* $PKG/usr/ -#mv $PKG/usr/kde/share/* $PKG/usr/share/ + mv $PKG/usr/kde3/share/* $PKG/usr/share/ rm -rf $PKG/opt rm -rf $PKG/usr/kde3 @@ -141,6 +141,19 @@ EOFBRADMIN chmod +x * ln -s ../../usr/broffice.org2.2/program/soffice soffice +mkdir -p $PKG/usr/share/applications +cd $PKG/usr/share/applications +rm broffice.org2.2-*.desktop 2>/dev/null +ln -s ../../broffice.org2.2/share/xdg/base.desktop broffice.org2.2-base.desktop +ln -s ../../broffice.org2.2/share/xdg/calc.desktop broffice.org2.2-calc.desktop +ln -s ../../broffice.org2.2/share/xdg/draw.desktop broffice.org2.2-draw.desktop +ln -s ../../broffice.org2.2/share/xdg/extension.desktop broffice.org2.2-extension.desktop +ln -s ../../broffice.org2.2/share/xdg/impress.desktop broffice.org2.2-impress.desktop +ln -s ../../broffice.org2.2/share/xdg/math.desktop broffice.org2.2-math.desktop +ln -s ../../broffice.org2.2/share/xdg/printeradmin.desktop broffice.org2.2-printeradmin.desktop +ln -s ../../broffice.org2.2/share/xdg/qstart.desktop broffice.org2.2-qstart.desktop +ln -s ../../broffice.org2.2/share/xdg/writer.desktop broffice.org2.2-writer.desktop + # Install documentation mkdir -p "$PKG/usr/doc/$PKG_NAME-$PKG_VERSION" || exit $ERROR_MKDIR mv $PKG/usr/broffice.org2.2/licenses/* $PKG/usr/doc/$PKG_NAME-$PKG_VERSION/ -- cgit v1.2.3