diff options
author | Niels Horn <niels.horn@gmail.com> | 2012-05-07 23:05:52 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-05-07 23:05:52 -0400 |
commit | fddd6786317b2911ed383c0995069af31e480f3d (patch) | |
tree | 5a66fc07f03f806072ce0630175d43198a4a7a83 /office/libreoffice/libreoffice.SlackBuild | |
parent | 04baf7ded716d5250f81fef23e3b642529141f97 (diff) |
office/libreoffice: Updated for version 3.5.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/libreoffice/libreoffice.SlackBuild')
-rw-r--r-- | office/libreoffice/libreoffice.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild index d19e3da1a138..c4987bcf5154 100644 --- a/office/libreoffice/libreoffice.SlackBuild +++ b/office/libreoffice/libreoffice.SlackBuild @@ -24,10 +24,10 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # Modified by Niels Horn <niels.horn@gmail.com> -# Revision date: 2012/02/14 +# Revision date: 2012/05/06 PRGNAM=libreoffice -VERSION=${VERSION:-"3.5.0"} +VERSION=${VERSION:-"3.5.3"} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -86,13 +86,13 @@ if [ ! -r $TARBALL ]; then exit 1 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 SOURCEDIR=$(tar tzf $CWD/$TARNAME 2>/dev/null | head -n 1 | tr -d \/) # If the above operation failed for some reason, unset SOURCEDIR so that # the "set -eu" below will cause us to bail out with an error [ -z $SOURCEDIR ] && unset SOURCEDIR - + set -eu rm -rf $PKG @@ -110,7 +110,7 @@ cd $TMP/$SOURCEDIR/RPMS/ # Yes, I know there is a Slackware integration file in the desktop-integration # directory, but it's worthless to us. I'd prefer to do things correctly. -mv desktop-integration/libreoffice$SRCSHORT-freedesktop-menus-$SRCSHORT-*.noarch.rpm . +mv desktop-integration/libreoffice$SRCSHORT-freedesktop-menus-$SRCSHORT*.noarch.rpm . # No, I don't want to update our packaged files after the fact rm -f *onlineupdate*.rpm # We don't want this @@ -126,17 +126,17 @@ rm -f $PKG/usr/share/applications/libreoffice3-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/libreoffice$SRCSHORT/program/$FILE $FILE ; - done + done cd - # Remove DejaVu and Liberation fonts - these are included in other packages rm -f opt/libreoffice/basis$SRCSHORT/share/fonts/truetype/{DejaVu,Liberation}*.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/libreoffice$SRCSHORT/share/xdg/ for APP in base calc draw impress math writer; do sed -i "s%Exec=libreoffice -%Exec=/opt/libreoffice$SRCSHORT/program/s%" $APP.desktop ; |