libreoffice-bin: update to 4.3.4.
- create a libreoffice symlink, required by lyx (close #635) - provides/replace libreoffice.
This commit is contained in:
parent
8576953134
commit
38670e75d7
1 changed files with 9 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libreoffice-bin'
|
# Template file for 'libreoffice-bin'
|
||||||
pkgname=libreoffice-bin
|
pkgname=libreoffice-bin
|
||||||
version=4.2.4
|
version=4.3.4
|
||||||
revision=2
|
revision=1
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.libreoffice.org/"
|
homepage="http://www.libreoffice.org/"
|
||||||
license="LGPL-3"
|
license="LGPL-3"
|
||||||
|
@ -11,16 +11,17 @@ _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=7a7e056c45309f4949e0a33c54c4e65e40894b7c858d36d2b7820eae0fb3efa8
|
checksum=973ffbc6da65cd41ae58550e18269268c1758fa7c3bdfb8c1d5d086db8190ac0
|
||||||
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=c22a7158e40707d7f0ee547a7241b12a3c0f607355dba53774fd6d34204c6910
|
checksum=141ffdd2ab2d178ef301ee369856cac4fb7455221d3fea2b0dd1f3387c634e38
|
||||||
fi
|
fi
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
wrksrc="LibreOffice_${version}.2_Linux_${_arch}_deb"
|
wrksrc="LibreOffice_${version}.1_Linux_${_arch}_deb"
|
||||||
makedepends="shared-mime-info desktop-file-utils hicolor-icon-theme"
|
depends="shared-mime-info desktop-file-utils hicolor-icon-theme"
|
||||||
depends="${makedepends}"
|
provides="libreoffice-${version}_${revision}"
|
||||||
|
replaces="libreoffice>=0"
|
||||||
allow_unknown_shlibs=yes
|
allow_unknown_shlibs=yes
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
@ -36,4 +37,5 @@ do_install() {
|
||||||
for a in ${programs} ; do
|
for a in ${programs} ; do
|
||||||
ln -fs /opt/libreoffice${version%.*}/program/$a ${DESTDIR}/usr/bin/$a
|
ln -fs /opt/libreoffice${version%.*}/program/$a ${DESTDIR}/usr/bin/$a
|
||||||
done
|
done
|
||||||
|
ln -s libreoffice${version%.*} ${DESTDIR}/usr/bin/libreoffice
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue