Merge branch 'master' of github.com:xtraeme/xbps-packages

* 'master' of github.com:xtraeme/xbps-packages:
  libreoffice-bin: update to stable 4.0.3
This commit is contained in:
Juan RP 2013-05-22 16:31:21 +02:00
commit a6caa6a1b9

View file

@ -1,23 +1,24 @@
# Template file for 'libreoffice-bin'
pkgname=libreoffice-bin
version=4.0.0.3
revision=2
version=4.0.3
revision=1
maintainer="pancake <pancake@nopcode.org>"
homepage="http://www.libreoffice.org/"
license="LGPL-3"
short_desc="Productivity suite compatible with other major office suites (binary build)"
_disturi="http://download.documentfoundation.org/libreoffice/stable/${version}/deb"
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_arch=x86-64
distfiles="http://download.documentfoundation.org/libreoffice/testing/${version%.*}/deb/x86_64/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz"
checksum=e787adb0dc420a9c4ba2314109e706e5d90ab1d2c8371ebc100f280925346d96
distfiles="${_disturi}/x86_64/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz"
checksum=b7c5274ef50ab9e9cad569fe94a3997563850a9c36bac852533c64a8949105e2
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
_arch=x86
distfiles="http://download.documentfoundation.org/libreoffice/testing/${version%.*}/deb/x86/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz"
distfiles="${_disturi}/x86/LibreOffice_${version}_Linux_${_arch}_deb.tar.gz"
checksum=91f1d4cc30ac6e6f25d5933a175f1fa648283a4d9dc564f831d942c0eb9baf19
fi
only_for_archs="i686 x86_64"
wrksrc="LibreOffice_${version}_Linux_${_arch}_deb"
wrksrc="LibreOffice_${version}.3_Linux_${_arch}_deb"
disable_debug=yes
do_install() {
@ -56,5 +57,6 @@ do_install() {
libreoffice-bin_package() {
pkg_install() {
vmove usr
vmove opt
}
}