Browse Source

xap/libreoffice: Upgraded to libreoffice-4.2.4.

slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
7453d3e3e4
  1. 1
      xap/libreoffice/LibreOffice_4.1.5_Linux_x86-64_rpm.tar.gz.sha1
  2. 1
      xap/libreoffice/LibreOffice_4.1.5_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha1
  3. 1
      xap/libreoffice/LibreOffice_4.2.4_Linux_x86-64_rpm.tar.gz.sha1
  4. 1
      xap/libreoffice/LibreOffice_4.2.4_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha1
  5. 11
      xap/libreoffice/libreoffice.SlackBuild

1
xap/libreoffice/LibreOffice_4.1.5_Linux_x86-64_rpm.tar.gz.sha1

@ -1 +0,0 @@
6fe33c11b3d4d1962665367a01929bf9d47751f4 LibreOffice_4.1.5_Linux_x86-64_rpm.tar.gz

1
xap/libreoffice/LibreOffice_4.1.5_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha1

@ -1 +0,0 @@
4f2ecaf7ca9c13dd395490fb497462a316f04f55 LibreOffice_4.1.5_Linux_x86-64_rpm_helppack_en-US.tar.gz

1
xap/libreoffice/LibreOffice_4.2.4_Linux_x86-64_rpm.tar.gz.sha1

@ -0,0 +1 @@
604dc47c7059ec2a01efe74e0c5b67a2e9a4b75a LibreOffice_4.2.4_Linux_x86-64_rpm.tar.gz

1
xap/libreoffice/LibreOffice_4.2.4_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha1

@ -0,0 +1 @@
a25ba3fba56b2a70da2024accc2908c9e2eaebd7 LibreOffice_4.2.4_Linux_x86-64_rpm_helppack_en-US.tar.gz

11
xap/libreoffice/libreoffice.SlackBuild

@ -34,7 +34,7 @@ else
fi
# Source package infos
VERSION=${VERSION:-4.1.5}
VERSION=${VERSION:-4.2.4}
ARCHIVE=${ARCHIVE:-LibreOffice_${VERSION}_Linux_${SRCARCH}_rpm.tar.gz}
WGET=${WGET:-http://download.documentfoundation.org/libreoffice/stable/$VERSION/rpm/$ARCH/$ARCHIVE}
@ -86,7 +86,7 @@ cd $NAME
# Extract the RPMs
cd RPMS
tar xf $CWD/$HELPARC --strip=2 LibreOffice_4.1.5.3_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis4.1-en-US-help-4.1.5.3-3.$ARCH.rpm
tar xf $CWD/$HELPARC --strip=2 LibreOffice_4.2.4.2_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis4.2-en-US-help-4.2.4.2-2.$ARCH.rpm
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
mkdir -p $PKG
mv opt usr $PKG
@ -97,14 +97,15 @@ cd $PKG/usr/bin
for FILE in \
sbase scalc sdraw simpress smath soffice spadmin swriter unopkg ; do
rm -f $FILE
ln -sf /opt/libreoffice4.1/program/$FILE . ;
ln -sf /opt/libreoffice4.2/program/$FILE . ;
done
cd -
# Place docs at the expected locations
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/libreoffice4.1
mv CREDITS.odt *LICENSE* NOTICE readmes $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/libreoffice4.2
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 -

Loading…
Cancel
Save