diff options
Diffstat (limited to 'office/libreoffice')
-rw-r--r-- | office/libreoffice/README | 4 | ||||
-rw-r--r-- | office/libreoffice/libreoffice.SlackBuild | 19 | ||||
-rw-r--r-- | office/libreoffice/libreoffice.info | 12 |
3 files changed, 22 insertions, 13 deletions
diff --git a/office/libreoffice/README b/office/libreoffice/README index ba40a67252..3e5b418c9a 100644 --- a/office/libreoffice/README +++ b/office/libreoffice/README @@ -10,4 +10,6 @@ dependencies not satisfied by a normal installation. Be sure to look at the script for some optional things you can do when building. -NOTE: See the separate SlackBuild script for the language packs. +NOTE: +See the separate SlackBuild script for the language packs. +Avahi is only needed if you need to use Impress and Draw diff --git a/office/libreoffice/libreoffice.SlackBuild b/office/libreoffice/libreoffice.SlackBuild index 2e578ffdd8..82137b0e3c 100644 --- a/office/libreoffice/libreoffice.SlackBuild +++ b/office/libreoffice/libreoffice.SlackBuild @@ -1,10 +1,10 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for LibreOffice -# Copyright 2006.2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA +# Copyright 2006.2007.2008,2009,2010 Robby Workman, Northport, Alabama, USA # 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 @@ -24,10 +24,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 -VERSION=${VERSION:-"6.2.4"} +VERSION=${VERSION:-"24.2.2"} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} # These variables seem to change with (almost) every release... SRCVERSION=$VERSION @@ -41,7 +44,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -195,4 +202,4 @@ find -L . \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-${VERSION}-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.$PKGTYPE diff --git a/office/libreoffice/libreoffice.info b/office/libreoffice/libreoffice.info index 681a9e97cd..6482c0a1aa 100644 --- a/office/libreoffice/libreoffice.info +++ b/office/libreoffice/libreoffice.info @@ -1,10 +1,10 @@ PRGNAM="libreoffice" -VERSION="6.2.4" +VERSION="24.2.2" HOMEPAGE="https://www.libreoffice.org" -DOWNLOAD="https://download.documentfoundation.org/libreoffice/stable/6.2.4/rpm/x86/LibreOffice_6.2.4_Linux_x86_rpm.tar.gz" -MD5SUM="339d054cdb3a13d1ddaf64c0bbc1b239" -DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/6.2.4/rpm/x86_64/LibreOffice_6.2.4_Linux_x86-64_rpm.tar.gz" -MD5SUM_x86_64="6eede2c82f5e3362583b5a7c2756f3f5" -REQUIRES="jdk avahi" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://download.documentfoundation.org/libreoffice/stable/24.2.2/rpm/x86_64/LibreOffice_24.2.2_Linux_x86-64_rpm.tar.gz" +MD5SUM_x86_64="cde06aceac2f7eed5b5761a30a072444" +REQUIRES="zulu-openjdk8 avahi" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" |