aboutsummaryrefslogtreecommitdiff
path: root/office/libreoffice/libreoffice.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-12-27 00:48:42 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2010-12-27 20:06:58 -0200
commitaa937409feea681bbb4584195e2a04b6093d0c80 (patch)
tree5b5e96a8d6797d8016c51095bda4462b46dd0703 /office/libreoffice/libreoffice.SlackBuild
parent66e5e348167200bfb482ec2ecfb3a986278eb206 (diff)
office/libreoffice: Updated for version 3.3.0rc1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/libreoffice/libreoffice.SlackBuild')
-rw-r--r--office/libreoffice/libreoffice.SlackBuild27
1 files changed, 10 insertions, 17 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild
index d7edc19227f1..dc3f982d9da3 100644
--- a/office/libreoffice/libreoffice.SlackBuild
+++ b/office/libreoffice/libreoffice.SlackBuild
@@ -27,14 +27,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Niels Horn <niels.horn@gmail.com>
-# Revision date: 2010/11/24
+# Revision date: 2010/12/10
PRGNAM=libreoffice
-VERSION="3.3.0_beta3"
+VERSION="3.3.0rc1"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION=$(echo $VERSION | cut -f1 -d_)
+# I'll leave this line here, since I have to change it with every release...
+SRCVERSION=$VERSION
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -49,21 +50,12 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-# This should allow you to either pass a different value of LOLANG when you
-# run the script (LOLANG=pt-BR ./libreoffice.SlackBuild for example) or
-# change it in this script. Note that you will need to have the correct
-# tarball in the build directory for this to work...
-# You can get localized tarballs from the following location:
-### --> TODO: No localized versions available yet <-- ###
-# ???://???/$LOLANG/$VERSION/
-# Thanks to Niki Kovacs for finding this :-)
+# For now it seems upstream will have only one "base" program in 'en-US' and
+# LanguagePacks for all other languages.
LOLANG=${LOLANG:-en-US}
PKG_LANG=${LOLANG//-/_} # Leave this alone
-# Some localized versions only ship with a bundled JRE, and we'd like this
-# script to work on those as well... More importantly, the non-jre tarballs
-# don't seem to hang around on the mirrors for the last two releases, so I'm
-# just going to use the jre-bundled tarballs.
-### --> TODO: Changed default to "no" for now <-- ###
+
+# Until now all releases were without the JRE...
WJRE=${WJRE:-no}
# If you want to disable java support by removing executable permissions
@@ -117,9 +109,10 @@ rm -rf $TMP/$SOURCEDIR/{JavaSetup.jar,installdata,setup}
rm -rf $TMP/$SOURCEDIR/RPMS/{userland,jre-*-linux-*.rpm}
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/libreoffice3.3-freedesktop-menus-3.3-2.noarch.rpm .
+mv desktop-integration/libreoffice3.3-freedesktop-menus-3.3-3.noarch.rpm .
# No, I don't want to update our packaged files after the fact
rm -f *onlineupdate*.rpm # We don't want this