Browse Source

xap/libreoffice: Upgraded to libreoffice-5.4.0.

slackware-14.2
Damien Goutte-Gattat 4 years ago
parent
commit
e3ae728b0d
  1. 1
      xap/libreoffice/LibreOffice_5.3.4_Linux_x86-64_rpm.tar.gz.sha256
  2. 1
      xap/libreoffice/LibreOffice_5.3.4_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256
  3. 1
      xap/libreoffice/LibreOffice_5.4.0_Linux_x86-64_rpm.tar.gz.sha256
  4. 1
      xap/libreoffice/LibreOffice_5.4.0_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256
  5. 12
      xap/libreoffice/libreoffice.SlackBuild

1
xap/libreoffice/LibreOffice_5.3.4_Linux_x86-64_rpm.tar.gz.sha256

@ -1 +0,0 @@
4791c79e437a116192ef1b5a0cedb89297da077361148db564b825344305555b LibreOffice_5.3.4_Linux_x86-64_rpm.tar.gz

1
xap/libreoffice/LibreOffice_5.3.4_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256

@ -1 +0,0 @@
05b50c8c7a49a9a8d787abcf087d3a245b465144a564d2afda527ab6067c9f20 LibreOffice_5.3.4_Linux_x86-64_rpm_helppack_en-US.tar.gz

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

@ -0,0 +1 @@
0fd5ac03e14b571d08b5975e32058a089d34745a2ecfc9728c276895b89eb5d4 LibreOffice_5.4.0_Linux_x86-64_rpm.tar.gz

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

@ -0,0 +1 @@
2143d4aaddce01bdb7594c0c82e02b8675c2c0ea727aa558b481d1d60b7ff5fb LibreOffice_5.4.0_Linux_x86-64_rpm_helppack_en-US.tar.gz

12
xap/libreoffice/libreoffice.SlackBuild

@ -36,7 +36,7 @@ else
fi
# Source package infos
VERSION=${VERSION:-5.3.4}
VERSION=${VERSION:-5.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_5.3.4.2_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis5.3-en-US-help-5.3.4.2-2.$ARCH.rpm
tar xf $CWD/$HELPARC --strip=2 LibreOffice_5.4.0.3_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis5.4-en-US-help-5.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/libreoffice5.3/program/$FILE . ;
ln -sf /opt/libreoffice5.4/program/$FILE . ;
done
cd -
# Place docs at the expected locations
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/libreoffice5.3
cd $PKG/opt/libreoffice5.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/libreoffice5.3/program/libnssckbi.so
rm $PKG/opt/libreoffice5.4/program/libnssckbi.so
ln -s /usr/lib$LIBDIRSUFFIX/libp11-kit.so \
$PKG/opt/libreoffice5.3/program/libnssckbi.so
$PKG/opt/libreoffice5.4/program/libnssckbi.so
# Copy slack-desc and doinst.sh file
mkdir -p $PKG/install

Loading…
Cancel
Save