diff options
Diffstat (limited to 'office/libreoffice-langpack')
-rw-r--r-- | office/libreoffice-langpack/README | 5 | ||||
-rw-r--r-- | office/libreoffice-langpack/libreoffice-langpack.SlackBuild | 28 | ||||
-rw-r--r-- | office/libreoffice-langpack/libreoffice-langpack.info | 10 |
3 files changed, 27 insertions, 16 deletions
diff --git a/office/libreoffice-langpack/README b/office/libreoffice-langpack/README index f3c8a8b64f..2b74948439 100644 --- a/office/libreoffice-langpack/README +++ b/office/libreoffice-langpack/README @@ -10,8 +10,9 @@ and start the SlackBuild as follows: # LOLANG=xx ./libreoffice-langpack.SlackBuild This package was prepared for LibreOffice built from here at -SlackBuilds.org. if you want to build a package compatible with LibreOffice -built from source (like AlienBOB's packages), start the script as follows: +SlackBuilds.org. if you want to build a package compatible with +LibreOffice built from source (like AlienBOB's packages), start the +script as follows: # LOLANG=xx ALIEN=yes ./libreoffice-langpack.SlackBuild diff --git a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild index b7a6fccfde..7a99cccf53 100644 --- a/office/libreoffice-langpack/libreoffice-langpack.SlackBuild +++ b/office/libreoffice-langpack/libreoffice-langpack.SlackBuild @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for LibreOffice Language Packs # Copyright 2010-2014 Niels Horn, Rio de Janeiro, RJ, Brazil -# Copyright 2014-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2014-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,10 +23,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=libreoffice-langpack -VERSION=${VERSION:-"6.2.8"} +VERSION=${VERSION:-"24.2.3"} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} LOLANG=${LOLANG:-en-GB} PKG_LANG=${LOLANG//-/_} @@ -44,11 +47,6 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - # Change source package name if [ "$ARCH" = "x86_64" ]; then SRCARCH="x86-64" @@ -63,6 +61,18 @@ else LIBDIRSUFFIX="" fi +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "${PRGNAM}_${PKG_LANG}-$VERSION-$PKGARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + set -e # Concatenate all parts to get the full name of the tarball @@ -116,4 +126,4 @@ if [ "$ALIEN" == "yes" ]; then cd $PKG fi -/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}_${PKG_LANG}-${VERSION}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/${PRGNAM}_${PKG_LANG}-${VERSION}-$PKGARCH-$BUILD$TAG.$PKGTYPE diff --git a/office/libreoffice-langpack/libreoffice-langpack.info b/office/libreoffice-langpack/libreoffice-langpack.info index 93148319d1..4d7a4f7493 100644 --- a/office/libreoffice-langpack/libreoffice-langpack.info +++ b/office/libreoffice-langpack/libreoffice-langpack.info @@ -1,10 +1,10 @@ PRGNAM="libreoffice-langpack" -VERSION="6.2.8" +VERSION="24.2.3" HOMEPAGE="https://www.libreoffice.org" -DOWNLOAD="https://download.documentfoundation.org/libreoffice/stable/6.2.8/rpm/x86/LibreOffice_6.2.8_Linux_x86_rpm_langpack_en-GB.tar.gz" -MD5SUM="6fb9c1631dbef66750babdeb3cfed2fe" -DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/6.2.8/rpm/x86_64/LibreOffice_6.2.8_Linux_x86-64_rpm_langpack_en-GB.tar.gz" -MD5SUM_x86_64="82ce56931e08b4e77e237c0fd0bf66f4" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/24.2.3/rpm/x86_64/LibreOffice_24.2.3_Linux_x86-64_rpm_langpack_en-GB.tar.gz" +MD5SUM_x86_64="4a1fcfeb971e1d0bb266c6eb02f5ef64" REQUIRES="libreoffice" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" |