diff options
Diffstat (limited to 'office/libreoffice-langpack/libreoffice-langpack.SlackBuild')
-rw-r--r-- | office/libreoffice-langpack/libreoffice-langpack.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild index 687cb0da7f..6b83edc78b 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} |