office/libreoffice: Updated for version 3.5.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
04baf7ded7
commit
fddd678631
|
@ -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 ;
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue