Browse Source

xap/libreoffice: Upgraded to libreoffice-4.3.0.

slackware-14.2
Damien Goutte-Gattat 7 years ago
parent
commit
5633ec3fc6
  1. 1
      xap/libreoffice/LibreOffice_4.2.5_Linux_x86-64_rpm.tar.gz.sha1
  2. 1
      xap/libreoffice/LibreOffice_4.2.5_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha1
  3. 1
      xap/libreoffice/LibreOffice_4.3.0_Linux_x86-64_rpm.tar.gz.sha1
  4. 1
      xap/libreoffice/LibreOffice_4.3.0_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha1
  5. 8
      xap/libreoffice/libreoffice.SlackBuild

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

@ -1 +0,0 @@
0be7055ba57b79ddc133c431d12571908e1633dd LibreOffice_4.2.5_Linux_x86-64_rpm.tar.gz

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

@ -1 +0,0 @@
4c925e0aadd55bd8e011ab47b934fcf6db507870 LibreOffice_4.2.5_Linux_x86-64_rpm_helppack_en-US.tar.gz

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

@ -0,0 +1 @@
c104ac449727e22a61035bf70bc3580ce2dfb2c2 LibreOffice_4.3.0_Linux_x86-64_rpm.tar.gz

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

@ -0,0 +1 @@
47159aa4584c2320794924f2030b9dfa83b227e6 LibreOffice_4.3.0_Linux_x86-64_rpm_helppack_en-US.tar.gz

8
xap/libreoffice/libreoffice.SlackBuild

@ -34,7 +34,7 @@ else
fi
# Source package infos
VERSION=${VERSION:-4.2.5}
VERSION=${VERSION:-4.3.0}
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.2.5.2_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis4.2-en-US-help-4.2.5.2-2.$ARCH.rpm
tar xf $CWD/$HELPARC --strip=2 LibreOffice_4.3.0.4_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis4.3-en-US-help-4.3.0.4-4.$ARCH.rpm
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
mkdir -p $PKG
mv opt usr $PKG
@ -97,13 +97,13 @@ cd $PKG/usr/bin
for FILE in \
sbase scalc sdraw simpress smath soffice spadmin swriter unopkg ; do
rm -f $FILE
ln -sf /opt/libreoffice4.2/program/$FILE . ;
ln -sf /opt/libreoffice4.3/program/$FILE . ;
done
cd -
# Place docs at the expected locations
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/libreoffice4.2
cd $PKG/opt/libreoffice4.3
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 {} \;

Loading…
Cancel
Save