diff options
Diffstat (limited to 'office/libreoffice-langpack/libreoffice-langpack.SlackBuild')
-rw-r--r-- | office/libreoffice-langpack/libreoffice-langpack.SlackBuild | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild index 95100de5fe..687cb0da7f 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 |