Browse Source

xap/libreoffice: Upgraded to libreoffice-7.0.0.

current-20200608
Damien Goutte-Gattat 2 months ago
parent
commit
71809667e4
5 changed files with 8 additions and 8 deletions
  1. +0
    -1
      xap/libreoffice/LibreOffice_6.4.1_Linux_x86-64_rpm.tar.gz.sha256
  2. +0
    -1
      xap/libreoffice/LibreOffice_6.4.1_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256
  3. +1
    -0
      xap/libreoffice/LibreOffice_7.0.0_Linux_x86-64_rpm.tar.gz.sha256
  4. +1
    -0
      xap/libreoffice/LibreOffice_7.0.0_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256
  5. +6
    -6
      xap/libreoffice/libreoffice.SlackBuild

+ 0
- 1
xap/libreoffice/LibreOffice_6.4.1_Linux_x86-64_rpm.tar.gz.sha256 View File

@@ -1 +0,0 @@
8c357ece795d37e48317ac459649c11238b99c3ff82e640032778fc4a8fe15d9 LibreOffice_6.4.1_Linux_x86-64_rpm.tar.gz

+ 0
- 1
xap/libreoffice/LibreOffice_6.4.1_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256 View File

@@ -1 +0,0 @@
2c54e5389f5e7523efdbea591ef635f88be25ba50a8c53f76469f8503b062b98 LibreOffice_6.4.1_Linux_x86-64_rpm_helppack_en-US.tar.gz

+ 1
- 0
xap/libreoffice/LibreOffice_7.0.0_Linux_x86-64_rpm.tar.gz.sha256 View File

@@ -0,0 +1 @@
13ce1cd73eac4a004647075118ec41c92a2f0f47dc013011990b3db03c76d3fe LibreOffice_7.0.0_Linux_x86-64_rpm.tar.gz

+ 1
- 0
xap/libreoffice/LibreOffice_7.0.0_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256 View File

@@ -0,0 +1 @@
ec43b4f1fddd117daa71ddb8faaa0f8657243f2c356ff6263f322c30043b9a3b LibreOffice_7.0.0_Linux_x86-64_rpm_helppack_en-US.tar.gz

+ 6
- 6
xap/libreoffice/libreoffice.SlackBuild View File

@@ -38,7 +38,7 @@ else
fi

# Source package infos
VERSION=${VERSION:-6.4.1}
VERSION=${VERSION:-7.0.0}
ARCHIVE=${ARCHIVE:-LibreOffice_${VERSION}_Linux_${SRCARCH}_rpm.tar.gz}
WGET=${WGET:-http://download.documentfoundation.org/libreoffice/stable/$VERSION/rpm/$ARCH/$ARCHIVE}

@@ -90,7 +90,7 @@ cd $NAME

# Extract the RPMs
cd RPMS
tar xf $CWD/$HELPARC --strip=2 LibreOffice_6.4.1.2_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis6.4-en-US-help-6.4.1.2-2.$ARCH.rpm
tar xf $CWD/$HELPARC --strip=2 LibreOffice_7.0.0.3_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis7.0-en-US-help-7.0.0.3-3.$ARCH.rpm
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
mkdir -p $PKG
mv opt usr $PKG
@@ -101,22 +101,22 @@ cd $PKG/usr/bin
for FILE in \
sbase scalc sdraw simpress smath soffice swriter unopkg ; do
rm -f $FILE
ln -sf /opt/libreoffice6.4/program/$FILE . ;
ln -sf /opt/libreoffice7.0/program/$FILE . ;
done
cd -

# Place docs at the expected locations
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/libreoffice6.4
cd $PKG/opt/libreoffice7.0
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.4/program/libnssckbi.so
rm $PKG/opt/libreoffice7.0/program/libnssckbi.so
ln -s /usr/lib$LIBDIRSUFFIX/libp11-kit.so \
$PKG/opt/libreoffice6.4/program/libnssckbi.so
$PKG/opt/libreoffice7.0/program/libnssckbi.so

# Copy slack-desc and doinst.sh file
mkdir -p $PKG/install


Loading…
Cancel
Save