summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/emesene/emesene-9999.ebuild')
-rw-r--r--net-im/emesene/emesene-9999.ebuild28
1 files changed, 2 insertions, 26 deletions
diff --git a/net-im/emesene/emesene-9999.ebuild b/net-im/emesene/emesene-9999.ebuild
index 08924db5753d..23939e939b77 100644
--- a/net-im/emesene/emesene-9999.ebuild
+++ b/net-im/emesene/emesene-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/emesene-9999.ebuild,v 1.5 2012/08/05 18:37:45 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/emesene/emesene-9999.ebuild,v 1.6 2012/11/02 22:31:50 hwoarang Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -29,36 +29,12 @@ RDEPEND="dev-python/pygtk:2
src_prepare() {
# do not import dummy session
sed -i -e "/import e3dummy/d" ${PN}/${PN}.py || die
- # fix .desktop icon to look for emesene-2 executable
- sed -i -e "s:${PN}:${PN}-2:g" \
- ${PN}/data/share/applications/${PN}.desktop || die
- # Use a better meny entry
- sed -i -e "/^Name/s:${PN}-2:Emesene v2:" \
- ${PN}/data/share/applications/${PN}.desktop || die
distutils_src_prepare
}
-src_install() {
- mysymlink(){
- dosym $(python_get_sitedir)/${PN}/${PN} /usr/bin/${PN}-2 || die
- }
- distutils_src_install
- # fix names
- mv "${D}"/usr/share/applications/${PN}.desktop \
- "${D}"/usr/share/applications/${PN}-2.desktop
- mv "${D}"/usr/share/pixmaps/${PN}.png \
- "${D}"/usr/share/pixmaps/${PN}-2.png
- mv "${D}"/usr/share/pixmaps/${PN}.xpm \
- "${D}"/usr/share/pixmaps/${PN}-2.xpm
- mv "${D}"/usr/share/man/man1/${PN}.1 \
- "${D}"/usr/share/man/man1/${PN}-2.1
-
- python_execute_function -q mysymlink
-}
-
pkg_postinst() {
elog
- elog "${PN}-2 is on early stages of development."
+ elog "${PN} is on early stages of development."
elog "Please do not file bugs on Gentoo bugzilla"
elog "unless you have problems with this ebuild."
elog "Use the upstram bug tracker to report bugs:"