Browse Source

xap/libreoffice: Upgraded to libreoffice-4.4.0.

slackware-14.2
Damien Goutte-Gattat 7 years ago
parent
commit
a8b3649446
  1. 1
      xap/libreoffice/LibreOffice_4.3.5_Linux_x86-64_rpm.tar.gz.sha1
  2. 1
      xap/libreoffice/LibreOffice_4.3.5_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha1
  3. 1
      xap/libreoffice/LibreOffice_4.4.0_Linux_x86-64_rpm.tar.gz.sha1
  4. 1
      xap/libreoffice/LibreOffice_4.4.0_Linux_x86-64_rpm_helppack_en-US.tar.gz.sha1
  5. 16
      xap/libreoffice/libreoffice.SlackBuild

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

@ -1 +0,0 @@
69ed11a3ed6c70c05147e536836162b359072481 LibreOffice_4.3.5_Linux_x86-64_rpm.tar.gz

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

@ -1 +0,0 @@
b0a84197ea96f482d582944fa46fd5e9c888ed6d LibreOffice_4.3.5_Linux_x86-64_rpm_helppack_en-US.tar.gz

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

@ -0,0 +1 @@
f2919df1a0b2a392d2ff97c726e6c17ec76a4bab LibreOffice_4.4.0_Linux_x86-64_rpm.tar.gz

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

@ -0,0 +1 @@
ac5f04d4383257429504f37676c25eec90c72fa4 LibreOffice_4.4.0_Linux_x86-64_rpm_helppack_en-US.tar.gz

16
xap/libreoffice/libreoffice.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2009,2010,2011,2012,2013,2014 Damien Goutte-Gattat
# Copyright (C) 2009-2015 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -36,7 +36,7 @@ else
fi
# Source package infos
VERSION=${VERSION:-4.3.5}
VERSION=${VERSION:-4.4.0}
ARCHIVE=${ARCHIVE:-LibreOffice_${VERSION}_Linux_${SRCARCH}_rpm.tar.gz}
WGET=${WGET:-http://download.documentfoundation.org/libreoffice/stable/$VERSION/rpm/$ARCH/$ARCHIVE}
@ -88,7 +88,7 @@ cd $NAME
# Extract the RPMs
cd RPMS
tar xf $CWD/$HELPARC --strip=2 LibreOffice_4.3.5.2_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis4.3-en-US-help-4.3.5.2-2.$ARCH.rpm
tar xf $CWD/$HELPARC --strip=2 LibreOffice_4.4.0.3_Linux_${SRCARCH}_rpm_helppack_en-US/RPMS/libobasis4.4-en-US-help-4.4.0.3-3.$ARCH.rpm
for FILE in *.rpm ; do rpm2cpio < $FILE | cpio -imdv ; done
mkdir -p $PKG
mv opt usr $PKG
@ -97,24 +97,24 @@ cd $PKG
# Create symlinks in /usr/bin
cd $PKG/usr/bin
for FILE in \
sbase scalc sdraw simpress smath soffice spadmin swriter unopkg ; do
sbase scalc sdraw simpress smath soffice swriter unopkg ; do
rm -f $FILE
ln -sf /opt/libreoffice4.3/program/$FILE . ;
ln -sf /opt/libreoffice4.4/program/$FILE . ;
done
cd -
# Place docs at the expected locations
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
cd $PKG/opt/libreoffice4.3
cd $PKG/opt/libreoffice4.4
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/libreoffice4.3/program/libnssckbi.so
rm $PKG/opt/libreoffice4.4/program/libnssckbi.so
ln -s /usr/lib$LIBDIRSUFFIX/libp11-kit.so \
$PKG/opt/libreoffice4.3/program/libnssckbi.so
$PKG/opt/libreoffice4.4/program/libnssckbi.so
# Copy slack-desc and doinst.sh file
mkdir -p $PKG/install

Loading…
Cancel
Save