diff options
author | Andreas Proschofsky <suka@gentoo.org> | 2011-03-17 13:06:21 +0000 |
---|---|---|
committer | Andreas Proschofsky <suka@gentoo.org> | 2011-03-17 13:06:21 +0000 |
commit | 2b9bf7adad99510042a3c134e76e84a3f8c63a83 (patch) | |
tree | 6f4a86df5da7560cca18e7ed9a0827a512eb3137 | |
parent | Bunch of cleanups, dependencies, restricts (diff) | |
download | historical-2b9bf7adad99510042a3c134e76e84a3f8c63a83.tar.gz historical-2b9bf7adad99510042a3c134e76e84a3f8c63a83.tar.bz2 historical-2b9bf7adad99510042a3c134e76e84a3f8c63a83.zip |
Minor ebuild cleanups, fix homepage entry
Package-Manager: portage-2.2.0_alpha27/cvs/Linux x86_64
-rw-r--r-- | app-office/libreoffice-bin/ChangeLog | 6 | ||||
-rw-r--r-- | app-office/libreoffice-bin/libreoffice-bin-3.3.1.ebuild | 16 |
2 files changed, 13 insertions, 9 deletions
diff --git a/app-office/libreoffice-bin/ChangeLog b/app-office/libreoffice-bin/ChangeLog index c1c4e58d0965..fe747db72d13 100644 --- a/app-office/libreoffice-bin/ChangeLog +++ b/app-office/libreoffice-bin/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-office/libreoffice-bin # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.14 2011/03/17 12:29:36 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/ChangeLog,v 1.15 2011/03/17 13:06:21 suka Exp $ + + 17 Mar 2011; Andreas Proschofsky <suka@gentoo.org> + libreoffice-bin-3.3.1.ebuild: + Minor ebuild cleanups, fix homepage entry 17 Mar 2011; Andreas Proschofsky <suka@gentoo.org> libreoffice-bin-3.3.1.ebuild: diff --git a/app-office/libreoffice-bin/libreoffice-bin-3.3.1.ebuild b/app-office/libreoffice-bin/libreoffice-bin-3.3.1.ebuild index b0121a50124c..4f76ec8c2221 100644 --- a/app-office/libreoffice-bin/libreoffice-bin-3.3.1.ebuild +++ b/app-office/libreoffice-bin/libreoffice-bin-3.3.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.3.1.ebuild,v 1.4 2011/03/17 12:29:36 suka Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/libreoffice-bin-3.3.1.ebuild,v 1.5 2011/03/17 13:06:21 suka Exp $ EAPI="3" @@ -44,7 +44,7 @@ for X in ${LANGS} ; do IUSE="${IUSE} linguas_${X}" done -HOMEPAGE="http://www.documentfoundation.org" +HOMEPAGE="http://www.libreoffice.org" LICENSE="LGPL-3" SLOT="0" @@ -116,11 +116,8 @@ src_unpack() { rpm_unpack "./${UP}/${BASIS}-en-US-${s}-${BVER}.${LOARCH}.rpm" done - # Lang files - # TODO: Install dictionaries - + # Localization strip-linguas ${LANGS} - for l in ${LINGUAS}; do m="${l/_/-}" if [[ ${m} != "en" ]] ; then @@ -146,6 +143,7 @@ src_unpack() { fi fi done + } src_install () { @@ -158,7 +156,6 @@ src_install () { #Menu entries, icons and mime-types cd "${ED}${INSTDIR}/share/xdg/" - for desk in base calc draw impress javafilter math printeradmin qstart startcenter writer; do if [ "${desk}" = "javafilter" ] ; then use java || { rm javafilter.desktop; continue; } @@ -175,7 +172,6 @@ src_install () { sed -i -e s/LIBDIR/$(get_libdir)/g "${ED}/usr/bin/libreoffice" || die # Component symlinks - # Disabled, trouble with parallel installing openoffice for app in base calc draw impress math writer; do dosym ${INSTDIR}/program/s${app} /usr/bin/lo${app} done @@ -195,7 +191,9 @@ src_install () { } pkg_preinst() { + use gnome && gnome2_icon_savelist + } pkg_postinst() { @@ -209,6 +207,8 @@ pkg_postinst() { } pkg_postrm() { + fdo-mime_desktop_database_update use gnome && gnome2_icon_cache_update + } |