/[gentoo-x86]/app-office/libreoffice-bin/libreoffice-bin-3.4.3.ebuild
Gentoo

Diff of /app-office/libreoffice-bin/libreoffice-bin-3.4.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/Attic/libreoffice-bin-3.4.3.ebuild,v 1.1 2011/08/31 11:56:52 suka Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice-bin/Attic/libreoffice-bin-3.4.3.ebuild,v 1.2 2011/09/01 19:17:06 jlec Exp $
4 4
5EAPI="3" 5EAPI="3"
6 6
7inherit eutils fdo-mime gnome2-utils pax-utils prefix rpm multilib 7inherit eutils fdo-mime gnome2-utils pax-utils prefix rpm multilib
8 8
159 159
160 #Menu entries, icons and mime-types 160 #Menu entries, icons and mime-types
161 cd "${ED}${INSTDIR}/share/xdg/" 161 cd "${ED}${INSTDIR}/share/xdg/"
162 for desk in base calc draw impress javafilter math printeradmin qstart startcenter writer; do 162 for desk in base calc draw impress javafilter math printeradmin qstart startcenter writer; do
163 if [ "${desk}" = "javafilter" ] ; then 163 if [ "${desk}" = "javafilter" ] ; then
164 use java || { rm javafilter.desktop; continue; } 164 use java || { rm -f javafilter.desktop; continue; }
165 fi 165 fi
166 mv ${desk}.desktop ${NM1}-${desk}.desktop 166 mv ${desk}.desktop ${NM1}-${desk}.desktop
167 sed -i -e s/${NM2}/${NM}/g ${NM1}-${desk}.desktop || die 167 sed -i -e s/${NM2}/${NM}/g ${NM1}-${desk}.desktop || die
168 domenu ${NM1}-${desk}.desktop 168 domenu ${NM1}-${desk}.desktop
169 done 169 done

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20