mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-01 09:32:57 +02:00
libreoffice-bin: update to 4.1.0.
This commit is contained in:
parent
719cd8120a
commit
7027a4bb98
1 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'libreoffice-bin'
|
# Template file for 'libreoffice-bin'
|
||||||
pkgname=libreoffice-bin
|
pkgname=libreoffice-bin
|
||||||
version=4.0.3
|
version=4.1.0
|
||||||
revision=1
|
revision=1
|
||||||
maintainer="pancake <pancake@nopcode.org>"
|
maintainer="pancake <pancake@nopcode.org>"
|
||||||
homepage="http://www.libreoffice.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
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
_arch=x86-64
|
_arch=x86-64
|
||||||
distfiles="${_disturi}/x86_64/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz"
|
distfiles="${_disturi}/x86_64/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz"
|
||||||
checksum=b7c5274ef50ab9e9cad569fe94a3997563850a9c36bac852533c64a8949105e2
|
checksum=61c6e8d105b06fa649e54033857f3d87d60a5e75e9699df3ce285899883ed9d8
|
||||||
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
||||||
_arch=x86
|
_arch=x86
|
||||||
distfiles="${_disturi}/x86/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz"
|
distfiles="${_disturi}/x86/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz"
|
||||||
checksum=066109676c42b7a5302ef8eb5b636c218917b2c89de672523e174eb326c82872
|
checksum=b2c7936d3e7fe36180729af11b9a12069c134632c2804ebf5776806de45a2d60
|
||||||
fi
|
fi
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
wrksrc="LibreOffice_${version}.3_Linux_${_arch}_deb"
|
wrksrc="LibreOffice_${version}.4_Linux_${_arch}_deb"
|
||||||
disable_debug=yes
|
makedepends="libpng-devel"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
cd DEBS
|
cd DEBS
|
||||||
|
@ -29,7 +29,7 @@ do_install() {
|
||||||
tar xzpvf data.tar.gz -C ${DESTDIR}
|
tar xzpvf data.tar.gz -C ${DESTDIR}
|
||||||
done
|
done
|
||||||
# hack the missing shlibs!
|
# hack the missing shlibs!
|
||||||
p=/opt/libreoffice4.0/program/
|
p=/opt/libreoffice4.1/program/
|
||||||
d=${DESTDIR}/$p
|
d=${DESTDIR}/$p
|
||||||
rm -f ${d}/libpng12.so.0
|
rm -f ${d}/libpng12.so.0
|
||||||
ln -fs /usr/lib/libpng.so ${d}/libpng12.so.0
|
ln -fs /usr/lib/libpng.so ${d}/libpng12.so.0
|
||||||
|
@ -41,11 +41,12 @@ do_install() {
|
||||||
libqt-mt.so.3
|
libqt-mt.so.3
|
||||||
libkabc.so.1
|
libkabc.so.1
|
||||||
libkio.so.4
|
libkio.so.4
|
||||||
|
libgnomevfs-2.so.0
|
||||||
|
libsqlite3.so
|
||||||
"
|
"
|
||||||
for a in ${hack_shlibs} ; do
|
for a in ${hack_shlibs} ; do
|
||||||
ln -fs ./libpng12.so.0 ./${a}
|
ln -fs ./libpng12.so.0 ./${a}
|
||||||
done
|
done
|
||||||
|
|
||||||
# install symlinked programs to /usr
|
# install symlinked programs to /usr
|
||||||
programs="soffice scalc swriter simpress sdraw sbase"
|
programs="soffice scalc swriter simpress sdraw sbase"
|
||||||
mkdir -p ${DESTDIR}/usr/bin
|
mkdir -p ${DESTDIR}/usr/bin
|
||||||
|
|
Loading…
Add table
Reference in a new issue