summaryrefslogtreecommitdiff
path: root/office/broffice.org/broffice.org.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/broffice.org/broffice.org.SlackBuild')
-rw-r--r--office/broffice.org/broffice.org.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/office/broffice.org/broffice.org.SlackBuild b/office/broffice.org/broffice.org.SlackBuild
index 43f688441a..fc528db458 100644
--- a/office/broffice.org/broffice.org.SlackBuild
+++ b/office/broffice.org/broffice.org.SlackBuild
@@ -27,12 +27,10 @@ VERSION=3.2.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -68,7 +66,7 @@ else
PKGARCH="i586"
fi
-# Ignore this - it's just to get the toplevel directory name of the
+# Ignore this - it's just to get the toplevel directory name of the
# extracted tarball archive
if [ $WJRE != no ]; then
SOURCEDIR=$(tar tzf $CWD/BrOOo_${VERSION}_Linux_${SRCARCH}_install-rpm-wJRE_${OOLANG}.tar.gz 2>/dev/null | head -n 1 | tr -d \/)
@@ -116,17 +114,17 @@ rm -f $PKG/usr/share/applications/broffice.org3-startcenter.desktop
# Create symlinks in /usr/bin to actual binaries
cd $PKG/usr/bin
for FILE in \
- sbase scalc sdraw simpress smath soffice spadmin swriter unopkg ; do
+ sbase scalc sdraw simpress smath soffice spadmin swriter unopkg ; do
rm -f $FILE
ln -sf ../../opt/broffice.org3/program/$FILE $FILE ;
- done
+ done
cd -
# Remove DejaVu and Liberation fonts - these are included in other packages
rm -f opt/openoffice.org/basis3.2/share/fonts/truetype/[DL]*.ttf
# Fix Exec commands in the desktop files
-# See http://bugzilla.xfce.org/show_bug.cgi?id=2430
+# See http://bugzilla.xfce.org/show_bug.cgi?id=2430
cd $PKG/opt/broffice.org3/share/xdg/
for APP in base calc draw impress math writer; do
sed -i 's%Exec=broffice.org3 -%Exec=s%' $APP.desktop ;