office/libreoffice: Updated for version 5.3.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2017-02-02 02:28:38 +07:00
parent 883ce7a550
commit 0f8e85917d
4 changed files with 6 additions and 34 deletions

View File

@ -13,4 +13,3 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
fi
done
fi

View File

@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libreoffice
VERSION=${VERSION:-"5.2.5"}
VERSION=${VERSION:-"5.3.0"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -142,8 +142,6 @@ cd $PKG/usr/doc/$PRGNAM-$VERSION
find . -type f -exec chmod -x {} \;
cd -
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# Include a script for those wanting to have OO.o + LibO installed together
cp $CWD/open-libre-together.sh $PKG/usr/doc/$PRGNAM-$VERSION/
# Disable Java support if desired (see above)
if [ "$DISABLE_JAVA" = "YES" ]; then

View File

@ -1,10 +1,10 @@
PRGNAM="libreoffice"
VERSION="5.2.5"
VERSION="5.3.0"
HOMEPAGE="http://www.libreoffice.org"
DOWNLOAD="http://download.documentfoundation.org/libreoffice/stable/5.2.5/rpm/x86/LibreOffice_5.2.5_Linux_x86_rpm.tar.gz"
MD5SUM="c6a06ad176cadcddc590ceddbb2cd2ee"
DOWNLOAD_x86_64="http://download.documentfoundation.org/libreoffice/stable/5.2.5/rpm/x86_64/LibreOffice_5.2.5_Linux_x86-64_rpm.tar.gz"
MD5SUM_x86_64="b13b955d534b3a76c364285c1c6743b7"
DOWNLOAD="http://download.documentfoundation.org/libreoffice/stable/5.3.0/rpm/x86/LibreOffice_5.3.0_Linux_x86_rpm.tar.gz"
MD5SUM="ee369ac8ebf93962314c64abecea2165"
DOWNLOAD_x86_64="http://download.documentfoundation.org/libreoffice/stable/5.3.0/rpm/x86_64/LibreOffice_5.3.0_Linux_x86-64_rpm.tar.gz"
MD5SUM_x86_64="de0214a9ec1c4be1abf178c5144becc0"
REQUIRES="jdk"
MAINTAINER="Willy Sudiarto Raharjo"
EMAIL="willysr@slackbuilds.org"

View File

@ -1,25 +0,0 @@
#!/bin/sh
# open-libre-together.sh
#
# Script to patch .desktop files from OpenOffice.org so that it can
# coexist with LibreOffice
# v1.00 - 2011/01/03 - Niels Horn <niels.horn@gmail.com>
set -e
if [ $(id -u) -ne 0 ]; then
echo "Sorry, need to be root to run this..."
exit 1
fi
cd /usr/share/applications
for dt in base calc draw impress math writer; do
echo "Changing .desktop file for '$dt' ..."
sed -i "s|^Exec=s$cmd|Exec=/opt/openoffice.org3/program/s$cmd|" openoffice.org3-$dt.desktop
done
echo "All done..."