office/libreoffice: Updated for version 3.3.1.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Niels Horn 2011-03-03 09:27:39 -06:00 committed by Robby Workman
parent 15c787c437
commit 8e373c211d
2 changed files with 13 additions and 11 deletions

View file

@ -24,15 +24,17 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Niels Horn <niels.horn@gmail.com> # Modified by Niels Horn <niels.horn@gmail.com>
# Revision date: 2011/01/03 # Revision date: 2011/03/01
PRGNAM=libreoffice PRGNAM=libreoffice
VERSION="3.3.0" VERSION="3.3.1"
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
# I'll leave this line here, since I have to change it with every release... # These variables seem to change with (almost) every release...
SRCVERSION=$VERSION SRCVERSION=$VERSION
SRCSHORT="3.3"
SRCBUILD="3.3-8"
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
@ -109,7 +111,7 @@ cd $TMP/$SOURCEDIR/RPMS/
# Yes, I know there is a Slackware integration file in the desktop-integration # 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. # directory, but it's worthless to us. I'd prefer to do things correctly.
mv desktop-integration/libreoffice3.3-freedesktop-menus-3.3-6.noarch.rpm . mv desktop-integration/libreoffice$SRCSHORT-freedesktop-menus-$SRCBUILD.noarch.rpm .
# No, I don't want to update our packaged files after the fact # No, I don't want to update our packaged files after the fact
rm -f *onlineupdate*.rpm # We don't want this rm -f *onlineupdate*.rpm # We don't want this
@ -132,7 +134,7 @@ cd $PKG/usr/bin
cd - cd -
# Remove DejaVu and Liberation fonts - these are included in other packages # Remove DejaVu and Liberation fonts - these are included in other packages
rm -f opt/libreoffice/basis3.3/share/fonts/truetype/{DejaVu,Liberation}*.ttf rm -f opt/libreoffice/basis$SRCSHORT/share/fonts/truetype/{DejaVu,Liberation}*.ttf
# Fix Exec commands in the desktop files # 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
@ -176,4 +178,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
chown -R root:root . chown -R root:root .
find . -type d -exec chmod 755 {} \; find . -type d -exec chmod 755 {} \;
chmod -R u+rw,go+r-w,a-s . chmod -R u+rw,go+r-w,a-s .
/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz} /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}_${PKG_LANG}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,10 +1,10 @@
PRGNAM="libreoffice" PRGNAM="libreoffice"
VERSION="3.3.0" VERSION="3.3.1"
HOMEPAGE="http://www.documentfoundation.org" HOMEPAGE="http://www.documentfoundation.org"
DOWNLOAD="http://download.documentfoundation.org/libreoffice/stable/3.3.0/rpm/x86/LibO_3.3.0_Linux_x86_install-rpm_en-US.tar.gz" DOWNLOAD="http://download.documentfoundation.org/libreoffice/stable/3.3.1/rpm/x86/LibO_3.3.1_Linux_x86_install-rpm_en-US.tar.gz"
MD5SUM="8e9c2e374fb96ed85c7a7878ce718ef6" MD5SUM="2e0d62996288baf2ba9fc89261a1f544"
DOWNLOAD_x86_64="http://download.documentfoundation.org/libreoffice/stable/3.3.0/rpm/x86_64/LibO_3.3.0_Linux_x86-64_install-rpm_en-US.tar.gz" DOWNLOAD_x86_64="http://download.documentfoundation.org/libreoffice/stable/3.3.1/rpm/x86_64/LibO_3.3.1_Linux_x86-64_install-rpm_en-US.tar.gz"
MD5SUM_x86_64="82c0f1428b841567d76428d57b6c1b18" MD5SUM_x86_64="ce693d7684d443bb061eafcb6e8bcc0a"
MAINTAINER="Niels Horn" MAINTAINER="Niels Horn"
EMAIL="niels.horn@gmail.com" EMAIL="niels.horn@gmail.com"
APPROVED="rworkman" APPROVED="rworkman"