aboutsummaryrefslogtreecommitdiff
path: root/office/libreoffice/libreoffice.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-08-01 21:38:45 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 20:28:36 -0300
commitf062589eba9fda9c8d0a0b017267dd0c756a8903 (patch)
tree5a9dbb8092068f2f10c85a1cf5f753643f27dbcb /office/libreoffice/libreoffice.SlackBuild
parentc1ddce54cbe423d1d875b0e15356507c2ed72cdb (diff)
office/libreoffice: Updated for version 3.4.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/libreoffice/libreoffice.SlackBuild')
-rw-r--r--office/libreoffice/libreoffice.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild
index bf586ca60c1ea..bceb42587f2be 100644
--- a/office/libreoffice/libreoffice.SlackBuild
+++ b/office/libreoffice/libreoffice.SlackBuild
@@ -24,17 +24,16 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Modified by Niels Horn <niels.horn@gmail.com>
-# Revision date: 2011/06/20
+# Revision date: 2011/08/01
PRGNAM=libreoffice
-VERSION="3.4.0"
+VERSION=${VERSION:-"3.4.2"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# These variables seem to change with (almost) every release...
SRCVERSION=$VERSION
-SRCSHORT="3.4"
-SRCBUILD="3.4-12"
+SRCSHORT=$(echo $VERSION | cut -f1-2 -d.) #"3.4"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -111,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-$SRCBUILD.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