aboutsummaryrefslogtreecommitdiff
path: root/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-06-25 18:21:17 +0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:56:59 -0300
commit3bd89158cbb14c5093b81b5b7c4fe87c2b02b774 (patch)
tree87f07c914cb7b9ef54631a9291a2617711d226bf /office/libreoffice-langpack/libreoffice-langpack.SlackBuild
parenta52ad12aa0462967768fc0ba2349159b256d94d1 (diff)
office/libreoffice-langpack: Updated for version 3.4.0.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'office/libreoffice-langpack/libreoffice-langpack.SlackBuild')
-rw-r--r--office/libreoffice-langpack/libreoffice-langpack.SlackBuild27
1 files changed, 24 insertions, 3 deletions
diff --git a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
index 95100de5fe44..687cb0da7fdc 100644
--- a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
+++ b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
@@ -2,11 +2,31 @@
# Slackware build script for LibreOffice Language Packs
+# Copyright 2010,2011 Niels Horn, Rio de Janeiro, RJ, Brazil
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
# Written by Niels Horn <niels.horn@gmail.com>
-# Revision date: 2011/03/22
+# Revision date: 2011/06/20
PRGNAM=libreoffice-langpack
-VERSION=${VERSION:-"3.3.2"}
+VERSION=${VERSION:-"3.4.0"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -16,6 +36,7 @@ ALIEN=${ALIEN:-no}
# I'll leave this line here, as I always have to change it with every release
SRCVERSION=$VERSION
+SRCSHORT="3.4"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -70,7 +91,7 @@ cd $PKG
# Move docs to their expected locations
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cd $PKG/opt/libreoffice
+cd $PKG/opt/libreoffice$SRCSHORT
mv readmes $PKG/usr/doc/$PRGNAM-$VERSION
cd -
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild