Browse Source

xap/libreoffice: Upgraded to libreoffice-6.1.2.

slackware-14.2
Damien Goutte-Gattat 3 years ago
parent
commit
ff0bb74381
  1. 1
      xap/libreoffice/LibreOffice_6.0.5_Linux_x86-64_rpm.tar.gz.sha256
  2. 1
      xap/libreoffice/LibreOffice_6.0.5_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256
  3. 1
      xap/libreoffice/LibreOffice_6.1.2_Linux_x86-64_rpm.tar.gz.sha256
  4. 1
      xap/libreoffice/LibreOffice_6.1.2_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha256
  5. 14
      xap/libreoffice/libreoffice.SlackBuild

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

@ -1 +0,0 @@
1ea570867f011cf85c2b4643b17b2a82c80914a577811921c2ae2b70bac44a04 LibreOffice_6.0.5_Linux_x86-64_rpm.tar.gz

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

@ -1 +0,0 @@
b6ec854c8003d60822fe4d2dc3fcaa46dd771c32bd9e8d2b36629759d888fbed LibreOffice_6.0.5_Linux_x86-64_rpm_helppack_en-US.tar.gz

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

@ -0,0 +1 @@
85cfb908114ff15a3975688a05d6dc1638a0865cb59e8e7c6e20cb0031d61d94 LibreOffice_6.1.2_Linux_x86-64_rpm.tar.gz

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

@ -0,0 +1 @@
cb883248734f36a30eb045ef09218dc62083d759034b00bbaaf68fca1f25db5a LibreOffice_6.1.2_Linux_x86-64_rpm_helppack_en-US.tar.gz

14
xap/libreoffice/libreoffice.SlackBuild

@ -36,7 +36,7 @@ else
fi
# Source package infos
VERSION=${VERSION:-6.0.5}
VERSION=${VERSION:-6.1.2}
ARCHIVE=${ARCHIVE:-LibreOffice_${VERSION}_Linux_${SRCARCH}_rpm.tar.gz}
WGET=${WGET:-http://download.documentfoundation.org/libreoffice/stable/$VERSION/rpm/$ARCH/$ARCHIVE}
@ -46,7 +46,7 @@ HELPGET=http://download.documentfoundation.org/libreoffice/stable/$VERSION/rpm/$
# Built package infos
NAMEPKG=${NAMEPKG:-libreoffice}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
EXT=${EXT:-txz}
# Directories
@ -88,7 +88,7 @@ cd $NAME
# Extract the RPMs
cd RPMS
tar xf $CWD/$HELPARC --strip=2 LibreOffice_6.0.5.2_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis6.0-en-US-help-6.0.5.2-2.$ARCH.rpm
tar xf $CWD/$HELPARC --strip=2 LibreOffice_6.1.2.1_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis6.1-en-US-help-6.1.2.1-1.$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.0/program/$FILE . ;
ln -sf /opt/libreoffice6.1/program/$FILE . ;
done
cd -
# Place docs at the expected locations
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/libreoffice6.0
cd $PKG/opt/libreoffice6.1
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.0/program/libnssckbi.so
rm $PKG/opt/libreoffice6.1/program/libnssckbi.so
ln -s /usr/lib$LIBDIRSUFFIX/libp11-kit.so \
$PKG/opt/libreoffice6.0/program/libnssckbi.so
$PKG/opt/libreoffice6.1/program/libnssckbi.so
# Copy slack-desc and doinst.sh file
mkdir -p $PKG/install

Loading…
Cancel
Save