From fddd6786317b2911ed383c0995069af31e480f3d Mon Sep 17 00:00:00 2001 From: Niels Horn Date: Mon, 7 May 2012 23:05:52 -0400 Subject: office/libreoffice: Updated for version 3.5.3. Signed-off-by: dsomero --- office/libreoffice/libreoffice.SlackBuild | 16 ++++++++-------- office/libreoffice/libreoffice.info | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'office') diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild index d19e3da1a1..c4987bcf51 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 -# 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 ; diff --git a/office/libreoffice/libreoffice.info b/office/libreoffice/libreoffice.info index 9982f70be9..fe334cb562 100644 --- a/office/libreoffice/libreoffice.info +++ b/office/libreoffice/libreoffice.info @@ -1,10 +1,10 @@ PRGNAM="libreoffice" -VERSION="3.5.0" +VERSION="3.5.3" HOMEPAGE="http://www.libreoffice.org" -DOWNLOAD="http://download.documentfoundation.org/libreoffice/stable/3.5.0/rpm/x86/LibO_3.5.0_Linux_x86_install-rpm_en-US.tar.gz" -MD5SUM="72421e3d6ab619b50ea941ab369bd0d4" -DOWNLOAD_x86_64="http://download.documentfoundation.org/libreoffice/stable/3.5.0/rpm/x86_64/LibO_3.5.0_Linux_x86-64_install-rpm_en-US.tar.gz" -MD5SUM_x86_64="2ed879f33f225faff9b0b4b7a1c94155" +DOWNLOAD="http://download.documentfoundation.org/libreoffice/stable/3.5.3/rpm/x86/LibO_3.5.3_Linux_x86_install-rpm_en-US.tar.gz" +MD5SUM="73d5d1cdaebd58e97cabc91506b9da5b" +DOWNLOAD_x86_64="http://download.documentfoundation.org/libreoffice/stable/3.5.3/rpm/x86_64/LibO_3.5.3_Linux_x86-64_install-rpm_en-US.tar.gz" +MD5SUM_x86_64="4d20c18c799c565e22b0b06418abe2c3" MAINTAINER="Niels Horn" EMAIL="niels.horn@gmail.com" -APPROVED="rworkman" +APPROVED="dsomero" -- cgit v1.2.3