libreoffice-bin: update to 4.1.0.

This commit is contained in:
Juan RP 2013-07-28 19:47:29 +02:00
parent 719cd8120a
commit 7027a4bb98

View file

@ -1,6 +1,6 @@
# Template file for 'libreoffice-bin'
pkgname=libreoffice-bin
version=4.0.3
version=4.1.0
revision=1
maintainer="pancake <pancake@nopcode.org>"
homepage="http://www.libreoffice.org/"
@ -11,15 +11,15 @@ _disturi="http://download.documentfoundation.org/libreoffice/stable/${version}/d
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_arch=x86-64
distfiles="${_disturi}/x86_64/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz"
checksum=b7c5274ef50ab9e9cad569fe94a3997563850a9c36bac852533c64a8949105e2
checksum=61c6e8d105b06fa649e54033857f3d87d60a5e75e9699df3ce285899883ed9d8
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
_arch=x86
distfiles="${_disturi}/x86/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz"
checksum=066109676c42b7a5302ef8eb5b636c218917b2c89de672523e174eb326c82872
checksum=b2c7936d3e7fe36180729af11b9a12069c134632c2804ebf5776806de45a2d60
fi
only_for_archs="i686 x86_64"
wrksrc="LibreOffice_${version}.3_Linux_${_arch}_deb"
disable_debug=yes
wrksrc="LibreOffice_${version}.4_Linux_${_arch}_deb"
makedepends="libpng-devel"
do_install() {
cd DEBS
@ -29,7 +29,7 @@ do_install() {
tar xzpvf data.tar.gz -C ${DESTDIR}
done
# hack the missing shlibs!
p=/opt/libreoffice4.0/program/
p=/opt/libreoffice4.1/program/
d=${DESTDIR}/$p
rm -f ${d}/libpng12.so.0
ln -fs /usr/lib/libpng.so ${d}/libpng12.so.0
@ -41,11 +41,12 @@ do_install() {
libqt-mt.so.3
libkabc.so.1
libkio.so.4
libgnomevfs-2.so.0
libsqlite3.so
"
for a in ${hack_shlibs} ; do
ln -fs ./libpng12.so.0 ./${a}
done
# install symlinked programs to /usr
programs="soffice scalc swriter simpress sdraw sbase"
mkdir -p ${DESTDIR}/usr/bin