aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2007-09-08 04:48:42 +0000
committerrudson <rudson@370017ae-e619-0410-ac65-c121f96126d4>2007-09-08 04:48:42 +0000
commit7af308bdc09a94323048a854612f08a9a4e51996 (patch)
treeb46e6a5a500bebf95b609182a8565d572e7e6fbe
parentac0cd357810c3839761c88199be3db27cb718ee0 (diff)
downloadslackbuilds-7af308bdc09a94323048a854612f08a9a4e51996.tar.gz
slackbuilds-7af308bdc09a94323048a854612f08a9a4e51996.tar.bz2
correção dos links do broffice 2.2.1
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1368 370017ae-e619-0410-ac65-c121f96126d4
-rwxr-xr-xapp/office/broffice/broffice.SlackBuild15
1 files changed, 14 insertions, 1 deletions
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/