aboutsummaryrefslogtreecommitdiff
path: root/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-08-01 21:39:56 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 20:28:36 -0300
commitf24e1672d85554dc875134c18d2f9042bbab21c9 (patch)
tree1dbed05f1f2dd291c3511017d298a3a33ff5a23f /office/libreoffice-langpack/libreoffice-langpack.SlackBuild
parentf062589eba9fda9c8d0a0b017267dd0c756a8903 (diff)
office/libreoffice-langpack: Updated for version 3.4.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'office/libreoffice-langpack/libreoffice-langpack.SlackBuild')
-rw-r--r--office/libreoffice-langpack/libreoffice-langpack.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
index 687cb0da7fdc6..6b83edc78bcaf 100644
--- a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
+++ b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild
@@ -23,10 +23,10 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Written by Niels Horn <niels.horn@gmail.com>
-# Revision date: 2011/06/20
+# Revision date: 2011/08/01
PRGNAM=libreoffice-langpack
-VERSION=${VERSION:-"3.4.0"}
+VERSION=${VERSION:-"3.4.2"}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,7 +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"
+SRCSHORT=$(echo $VERSION | cut -f1-2 -d.)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -107,7 +107,7 @@ chmod -R u+rw,go+r-w,a-s .
if [ "$ALIEN" == "yes" ]; then
cd $PKG/opt
mkdir -p ../usr/lib${LIBDIRSUFFIX}
- mv libreoffice ../usr/lib${LIBDIRSUFFIX}
+ mv libreoffice$SRCSHORT ../usr/lib${LIBDIRSUFFIX}
cd ..
rmdir opt
cd usr/lib${LIBDIRSUFFIX}