diff options
author | Ryan P.C. McQuen <ryanpcmcquen@gmail.com> | 2014-09-10 22:32:25 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-09-10 22:32:25 +0700 |
commit | dc8f4fc2b8673c27e4509b094f551337e365e2bf (patch) | |
tree | f8b132bf1928a465e22c6fe915da64c14053fab6 /office/openoffice.org/openoffice.org.SlackBuild | |
parent | 3f487d90ae13866d6a2234e1d574c7662732f061 (diff) | |
download | slackbuilds-dc8f4fc2b8673c27e4509b094f551337e365e2bf.tar.gz |
office/openoffice.org: Updated for version 4.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/openoffice.org/openoffice.org.SlackBuild')
-rw-r--r-- | office/openoffice.org/openoffice.org.SlackBuild | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/office/openoffice.org/openoffice.org.SlackBuild b/office/openoffice.org/openoffice.org.SlackBuild index c2ce3bd61f..8ae0adc5e4 100644 --- a/office/openoffice.org/openoffice.org.SlackBuild +++ b/office/openoffice.org/openoffice.org.SlackBuild @@ -2,10 +2,11 @@ # Slackware build script for openoffice.org +# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com + # Originally written by Niki Kovacs <info@microlinux.fr) # # Rewritten for slackbuilds.org by Ryan P.C. McQuen -# Copyright 2014 Ryan P.C. McQuen, ryan.q@linux.com, WA # # All rights reserved. # @@ -27,7 +28,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=openoffice.org -VERSION=${VERSION:-4.1.0} +VERSION=${VERSION:-4.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCSHORT=$(echo $VERSION | cut -f1-2 -d.) @@ -83,9 +84,6 @@ tar xvf $CWD/$TARNAME -C $TMP cd $TMP/$SOURCEDIR/RPMS -# We only need the freedesktop integration, so we move it to the current location -mv desktop-integration/openoffice$SRCSHORT-freedesktop-menus-$SRCSHORT-*.noarch.rpm . - # We don't want this, so we delete the *onlineupdate*.rpm rm -f *onlineupdate*.rpm @@ -93,22 +91,9 @@ rm -f *onlineupdate*.rpm for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done rm -rf desktop-integration *.rpm -mv opt usr $PKG +mv opt $PKG cd $PKG -# Fix broken symlinks -cd $PKG/usr/bin - rm -f soffice - ln -s ../../opt/openoffice4/program/soffice . -cd - -cd $PKG/usr/share/applications - for FILE in \ - base calc draw impress javafilter math printeradmin startcenter writer ; do - rm -f openoffice4-$FILE.desktop - ln -sf ../../../opt/openoffice4/share/xdg/$FILE.desktop $FILE.desktop ; - done -cd - - # Remove DejaVu fonts - these are included in other packages rm -f $PKG/opt/openoffice4/share/fonts/truetype/DejaVu*.ttf |