Browse Source

xap/libreoffice: Upgraded to libreoffice-6.4.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
2ef2fd9c52
  1. 1
      xap/libreoffice/LibreOffice_6.3.2_Linux_x86-64_rpm.tar.gz.sha256
  2. 1
      xap/libreoffice/LibreOffice_6.3.2_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256
  3. 1
      xap/libreoffice/LibreOffice_6.4.0_Linux_x86-64_rpm.tar.gz.sha256
  4. 1
      xap/libreoffice/LibreOffice_6.4.0_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256
  5. 14
      xap/libreoffice/libreoffice.SlackBuild

1
xap/libreoffice/LibreOffice_6.3.2_Linux_x86-64_rpm.tar.gz.sha256

@ -1 +0,0 @@
117e0f483ff4390b590179a071939040d2dda70f774fc2f0c040c2582edcd717 LibreOffice_6.3.2_Linux_x86-64_rpm.tar.gz

1
xap/libreoffice/LibreOffice_6.3.2_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256

@ -1 +0,0 @@
a5935734c2f78b6c5a0e057d1c8ae56b681a0fd8353fb15b830c78990139ee84 LibreOffice_6.3.2_Linux_x86-64_rpm_helppack_en-US.tar.gz

1
xap/libreoffice/LibreOffice_6.4.0_Linux_x86-64_rpm.tar.gz.sha256

@ -0,0 +1 @@
0ec772900a591d6e947acd6b1152de7f960e0551649e526cdfd021ee80d3cb8e LibreOffice_6.4.0_Linux_x86-64_rpm.tar.gz

1
xap/libreoffice/LibreOffice_6.4.0_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256

@ -0,0 +1 @@
286eca3f824febd80d2adf7798ae304c98cafa6ce67f15f5e18e19218b48442a LibreOffice_6.4.0_Linux_x86-64_rpm_helppack_en-US.tar.gz

14
xap/libreoffice/libreoffice.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009-2019 Damien Goutte-Gattat
# Copyright (C) 2009-2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -36,7 +36,7 @@ else
fi
# Source package infos
VERSION=${VERSION:-6.3.2}
VERSION=${VERSION:-6.4.0}
ARCHIVE=${ARCHIVE:-LibreOffice_${VERSION}_Linux_${SRCARCH}_rpm.tar.gz}
WGET=${WGET:-http://download.documentfoundation.org/libreoffice/stable/$VERSION/rpm/$ARCH/$ARCHIVE}
@ -88,7 +88,7 @@ cd $NAME
# Extract the RPMs
cd RPMS
tar xf $CWD/$HELPARC --strip=2 LibreOffice_6.3.2.2_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis6.3-en-US-help-6.3.2.2-2.$ARCH.rpm
tar xf $CWD/$HELPARC --strip=2 LibreOffice_6.4.0.3_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis6.4-en-US-help-6.4.0.3-3.$ARCH.rpm
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
mkdir -p $PKG
mv opt usr $PKG
@ -99,22 +99,22 @@ cd $PKG/usr/bin
for FILE in \
sbase scalc sdraw simpress smath soffice swriter unopkg ; do
rm -f $FILE
ln -sf /opt/libreoffice6.3/program/$FILE . ;
ln -sf /opt/libreoffice6.4/program/$FILE . ;
done
cd -
# Place docs at the expected locations
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/libreoffice6.3
cd $PKG/opt/libreoffice6.4
mv CREDITS.fodt LICENSE* NOTICE readmes/README_en-US $PKG/usr/doc/$NAMEPKG-$VERSION
rmdir readmes
find $PKG/usr/doc/$NAMEPKG-$VERSION -type f -exec chmod 644 {} \;
cd -
# Use system libp11-kit.so library instead of libnssckbi.so
rm $PKG/opt/libreoffice6.3/program/libnssckbi.so
rm $PKG/opt/libreoffice6.4/program/libnssckbi.so
ln -s /usr/lib$LIBDIRSUFFIX/libp11-kit.so \
$PKG/opt/libreoffice6.3/program/libnssckbi.so
$PKG/opt/libreoffice6.4/program/libnssckbi.so
# Copy slack-desc and doinst.sh file
mkdir -p $PKG/install

Loading…
Cancel
Save