office/openoffice.org: Updated for version 4.1.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Ryan P.C. McQuen 2014-09-10 22:32:25 +07:00 committed by Willy Sudiarto Raharjo
parent 3f487d90ae
commit dc8f4fc2b8
2 changed files with 9 additions and 24 deletions

View file

@ -2,10 +2,11 @@
# Slackware build script for openoffice.org # Slackware build script for openoffice.org
# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com
# Originally written by Niki Kovacs <info@microlinux.fr) # Originally written by Niki Kovacs <info@microlinux.fr)
# #
# Rewritten for slackbuilds.org by Ryan P.C. McQuen # Rewritten for slackbuilds.org by Ryan P.C. McQuen
# Copyright 2014 Ryan P.C. McQuen, ryan.q@linux.com, WA
# #
# All rights reserved. # All rights reserved.
# #
@ -27,7 +28,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openoffice.org PRGNAM=openoffice.org
VERSION=${VERSION:-4.1.0} VERSION=${VERSION:-4.1.1}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
SRCSHORT=$(echo $VERSION | cut -f1-2 -d.) SRCSHORT=$(echo $VERSION | cut -f1-2 -d.)
@ -83,9 +84,6 @@ tar xvf $CWD/$TARNAME -C $TMP
cd $TMP/$SOURCEDIR/RPMS cd $TMP/$SOURCEDIR/RPMS
# We only need the freedesktop integration, so we move it to the current location
mv desktop-integration/openoffice$SRCSHORT-freedesktop-menus-$SRCSHORT-*.noarch.rpm .
# We don't want this, so we delete the *onlineupdate*.rpm # We don't want this, so we delete the *onlineupdate*.rpm
rm -f *onlineupdate*.rpm rm -f *onlineupdate*.rpm
@ -93,22 +91,9 @@ rm -f *onlineupdate*.rpm
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
rm -rf desktop-integration *.rpm rm -rf desktop-integration *.rpm
mv opt usr $PKG mv opt $PKG
cd $PKG cd $PKG
# Fix broken symlinks
cd $PKG/usr/bin
rm -f soffice
ln -s ../../opt/openoffice4/program/soffice .
cd -
cd $PKG/usr/share/applications
for FILE in \
base calc draw impress javafilter math printeradmin startcenter writer ; do
rm -f openoffice4-$FILE.desktop
ln -sf ../../../opt/openoffice4/share/xdg/$FILE.desktop $FILE.desktop ;
done
cd -
# Remove DejaVu fonts - these are included in other packages # Remove DejaVu fonts - these are included in other packages
rm -f $PKG/opt/openoffice4/share/fonts/truetype/DejaVu*.ttf rm -f $PKG/opt/openoffice4/share/fonts/truetype/DejaVu*.ttf

View file

@ -1,10 +1,10 @@
PRGNAM="openoffice.org" PRGNAM="openoffice.org"
VERSION="4.1.0" VERSION="4.1.1"
HOMEPAGE="https://openoffice.org" HOMEPAGE="https://openoffice.org"
DOWNLOAD="http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86_install-rpm_en-US.tar.gz" DOWNLOAD="http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.1/binaries/en-US/Apache_OpenOffice_4.1.1_Linux_x86_install-rpm_en-US.tar.gz"
MD5SUM="54ef66e4929302b7b4c9a3cff5489bc3" MD5SUM="46e0aa610b121b23d9ed820016a6e7fd"
DOWNLOAD_x86_64="http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.0/binaries/en-US/Apache_OpenOffice_4.1.0_Linux_x86-64_install-rpm_en-US.tar.gz" DOWNLOAD_x86_64="http://sourceforge.net/projects/openofficeorg.mirror/files/4.1.1/binaries/en-US/Apache_OpenOffice_4.1.1_Linux_x86-64_install-rpm_en-US.tar.gz"
MD5SUM_x86_64="2c9c41c3c49129fa2518ebffd300a832" MD5SUM_x86_64="b86a422de7be43f659555f2edbd74590"
REQUIRES="" REQUIRES=""
MAINTAINER="Ryan P.C. McQuen" MAINTAINER="Ryan P.C. McQuen"
EMAIL="ryan.q@linux.com" EMAIL="ryan.q@linux.com"