diff options
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 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 <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 ; |