Browse Source

xap/libreoffice: Upgraded to libreoffice-3.5.0.

slackware-14.2
Damien Goutte-Gattat 11 years ago
parent
commit
3e2bb26d2e
  1. 1
      xap/libreoffice/LibO_3.4.0_Linux_x86-64_install-rpm_en-US.tar.gz.sha1
  2. 1
      xap/libreoffice/LibO_3.5.0_Linux_x86-64_install-rpm_en-US.tar.gz.sha1
  3. 10
      xap/libreoffice/libreoffice.SlackBuild

1
xap/libreoffice/LibO_3.4.0_Linux_x86-64_install-rpm_en-US.tar.gz.sha1

@ -1 +0,0 @@
84a7b7caf32515f00e6ae71f291ae8232a18a08c LibO_3.4.0_Linux_x86-64_install-rpm_en-US.tar.gz

1
xap/libreoffice/LibO_3.5.0_Linux_x86-64_install-rpm_en-US.tar.gz.sha1

@ -0,0 +1 @@
b15f91661e73ac1c30ebe2ec0315a745f7eeff24 LibO_3.5.0_Linux_x86-64_install-rpm_en-US.tar.gz

10
xap/libreoffice/libreoffice.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011 Damien Goutte-Gattat
# Copyright (C) 2009,2010,2011,2012 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -34,7 +34,7 @@ else
fi
# Source package infos
VERSION=${VERSION:-3.4.0}
VERSION=${VERSION:-3.5.0}
ARCHIVE=${ARCHIVE:-LibO_${VERSION}_Linux_${SRCARCH}_install-rpm_en-US.tar.gz}
WGET=${WGET:-http://download.documentfoundation.org/libreoffice/stable/$VERSION/rpm/$ARCH/$ARCHIVE}
@ -77,7 +77,7 @@ cd $NAME
# Extract the RPMs
cd RPMS
mv desktop-integration/libreoffice3.4-freedesktop-menus-3.4-12.noarch.rpm .
mv desktop-integration/libreoffice3.5-freedesktop-menus-3.5-13.noarch.rpm .
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
mkdir -p $PKG
mv opt usr $PKG
@ -88,13 +88,13 @@ cd $PKG/usr/bin
for FILE in \
sbase scalc sdraw simpress smath soffice spadmin swriter unopkg ; do
rm -f $FILE
ln -sf /opt/libreoffice3.4/program/$FILE . ;
ln -sf /opt/libreoffice3.5/program/$FILE . ;
done
cd -
# Place docs at the expected locations
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/libreoffice3.4
cd $PKG/opt/libreoffice3.5
mv CREDITS.odt *LICENSE* readmes $PKG/usr/doc/$NAMEPKG-$VERSION
find $PKG/usr/doc/$NAMEPKG-$VERSION -type f -exec chmod 644 {} \;
cd -

Loading…
Cancel
Save