libreoffice-bin: update to 4.4.2.
This commit is contained in:
parent
3964b12de6
commit
cf4b785325
1 changed files with 7 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'libreoffice-bin'
|
# Template file for 'libreoffice-bin'
|
||||||
pkgname=libreoffice-bin
|
pkgname=libreoffice-bin
|
||||||
version=4.3.5
|
version=4.4.2
|
||||||
revision=1
|
revision=1
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.libreoffice.org/"
|
homepage="http://www.libreoffice.org/"
|
||||||
|
@ -11,11 +11,11 @@ _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=db8d9925eb1170e4a1b0c29db4e59f5b4de08a61418ebd3d5ac0b1f376fa6e93
|
checksum=949aca8eeb14b218cb1d73a1f6b434230013adcd7603bfaebaa144dae596f80d
|
||||||
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=f1afb75f457b7c6407d989445a69e0db5b8168bfe8d9b42a4f20aa1e2a3f111b
|
checksum=91f375403a3c3b57243b9eed73312d1b7a26d998a930674a8def8bb538e51a6a
|
||||||
fi
|
fi
|
||||||
only_for_archs="i686 x86_64"
|
only_for_archs="i686 x86_64"
|
||||||
wrksrc="LibreOffice_${version}.2_Linux_${_arch}_deb"
|
wrksrc="LibreOffice_${version}.2_Linux_${_arch}_deb"
|
||||||
|
@ -23,6 +23,7 @@ depends="shared-mime-info desktop-file-utils hicolor-icon-theme"
|
||||||
provides="libreoffice-${version}_${revision}"
|
provides="libreoffice-${version}_${revision}"
|
||||||
replaces="libreoffice>=0"
|
replaces="libreoffice>=0"
|
||||||
allow_unknown_shlibs=yes
|
allow_unknown_shlibs=yes
|
||||||
|
nodebug=yes
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
cd DEBS
|
cd DEBS
|
||||||
|
@ -38,4 +39,7 @@ do_install() {
|
||||||
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
|
ln -s libreoffice${version%.*} ${DESTDIR}/usr/bin/libreoffice
|
||||||
|
mv ${DESTDIR}/usr/local/bin/* ${DESTDIR}/usr/bin
|
||||||
|
mv ${DESTDIR}/usr/local/share/* ${DESTDIR}/usr/share/
|
||||||
|
rm -rf ${DESTDIR}/usr/local
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue