Browse Source

xap/libreoffice: Upgraded to libreoffice-4.1.0.

slackware-14.2
Damien Goutte-Gattat 9 years ago
parent
commit
7ff0f40036
  1. 1
      xap/libreoffice/LibreOffice_4.0.4_Linux_x86-64_rpm.tar.gz.sha1
  2. 1
      xap/libreoffice/LibreOffice_4.0.4_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha1
  3. 1
      xap/libreoffice/LibreOffice_4.1.0_Linux_x86-64_rpm.tar.gz.sha1
  4. 1
      xap/libreoffice/LibreOffice_4.1.0_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha1
  5. 9
      xap/libreoffice/libreoffice.SlackBuild

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

@ -1 +0,0 @@
f2ae23330b4b8823d03e80e758ebc5865d5da840 LibreOffice_4.0.4_Linux_x86-64_rpm.tar.gz

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

@ -1 +0,0 @@
5213ec57629a8f45e95f4bbcf0e85df3e0983c04 LibreOffice_4.0.4_Linux_x86-64_rpm_helppack_en-US.tar.gz

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

@ -0,0 +1 @@
315e9431ae3279f8d3d5a5e99200928e135ae48f LibreOffice_4.1.0_Linux_x86-64_rpm.tar.gz

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

@ -0,0 +1 @@
fddd89f82ade74c6014c5acddb9d69419d6f79cb LibreOffice_4.1.0_Linux_x86-64_rpm_helppack_en-US.tar.gz

9
xap/libreoffice/libreoffice.SlackBuild

@ -34,7 +34,7 @@ else
fi
# Source package infos
VERSION=${VERSION:-4.0.4}
VERSION=${VERSION:-4.1.0}
ARCHIVE=${ARCHIVE:-LibreOffice_${VERSION}_Linux_${SRCARCH}_rpm.tar.gz}
WGET=${WGET:-http://download.documentfoundation.org/libreoffice/stable/$VERSION/rpm/$ARCH/$ARCHIVE}
@ -86,8 +86,7 @@ cd $NAME
# Extract the RPMs
cd RPMS
tar xf $CWD/$HELPARC --strip=2 LibreOffice_4.0.4.2_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis4.0-en-US-help-4.0.4.2-2.$ARCH.rpm
mv desktop-integration/libreoffice4.0-freedesktop-menus-4.0.4-2.noarch.rpm .
tar xf $CWD/$HELPARC --strip=2 LibreOffice_4.1.0.4_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis4.1-en-US-help-4.1.0.4-4.$ARCH.rpm
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
mkdir -p $PKG
mv opt usr $PKG
@ -98,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.0/program/$FILE . ;
ln -sf /opt/libreoffice4.1/program/$FILE . ;
done
cd -
# Place docs at the expected locations
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/libreoffice4.0
cd $PKG/opt/libreoffice4.1
mv CREDITS.odt *LICENSE* NOTICE readmes $PKG/usr/doc/$NAMEPKG-$VERSION
find $PKG/usr/doc/$NAMEPKG-$VERSION -type f -exec chmod 644 {} \;
cd -

Loading…
Cancel
Save