Gentoo Archives: gentoo-commits

From: "Andrej Kacian (ticho)" <ticho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/claws-mail: claws-mail-3.0.2.ebuild
Date: Wed, 03 Oct 2007 14:28:04
Message-Id: E1Id4bM-0005gs-GT@stork.gentoo.org
1 ticho 07/10/03 13:49:24
2
3 Modified: claws-mail-3.0.2.ebuild
4 Log:
5 Fix quoting, ROOT usage and use get_libdir() where needed.
6 (Portage version: 2.1.3.7)
7
8 Revision Changes Path
9 1.2 mail-client/claws-mail/claws-mail-3.0.2.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild?r1=1.1&r2=1.2
14
15 Index: claws-mail-3.0.2.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- claws-mail-3.0.2.ebuild 2 Oct 2007 16:37:03 -0000 1.1
22 +++ claws-mail-3.0.2.ebuild 3 Oct 2007 13:49:23 -0000 1.2
23 @@ -1,10 +1,10 @@
24 # Copyright 1999-2007 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild,v 1.1 2007/10/02 16:37:03 ticho Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.0.2.ebuild,v 1.2 2007/10/03 13:49:23 ticho Exp $
28
29 IUSE="bogofilter clamav crypt dillo doc gnome imap ipv6 kde ldap pda session spell ssl startup-notification xface"
30
31 -inherit eutils
32 +inherit eutils multilib
33
34 DESCRIPTION="Claws-Mail is an email client (and news reader) based on GTK+"
35 HOMEPAGE="http://www.claws-mail.org"
36 @@ -83,7 +83,7 @@
37 }
38
39 src_install() {
40 - emake DESTDIR=${D} install || die
41 + emake DESTDIR="${D}" install || die
42
43 # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
44 # => also install it in /usr/share/pixmaps for other desktop envs
45 @@ -105,8 +105,8 @@
46 doins ${PN}.desktop
47
48 einfo "Installing extra tools"
49 - cd ${S}/tools
50 - exeinto /usr/lib/${PN}/tools
51 + cd "${S}"/tools
52 + exeinto /usr/$(get_libdir)/${PN}/tools
53 doexe *.pl *.py *.rc *.conf *.sh || die
54 doexe tb2claws-mail update-po uudec uuooffice || die
55
56 @@ -115,7 +115,7 @@
57 local kdeprefix="$(kde-config --prefix)"
58 local servicescript="${PN}-kdeservicemenu.pl"
59 local desktopfile="${PN}-attach-files.desktop"
60 - cd ${S}/tools/kdeservicemenu
61 + cd "${S}"/tools/kdeservicemenu
62 sed -i -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" \
63 template_${desktopfile}
64 dodir /usr/share/apps/konqueror/servicemenus
65 @@ -129,7 +129,7 @@
66 fi
67
68 # kill useless plugin files
69 - rm -f ${D}/usr/lib*/${PN}/plugins/*.{la,a}
70 + rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a}
71 }
72
73 pkg_postinst() {
74 @@ -178,5 +178,5 @@
75 }
76
77 pkg_postrm() {
78 - gtk-update-icon-cache -f -t /usr/share/icons/hicolor
79 + gtk-update-icon-cache -f -t ${ROOT}/usr/share/icons/hicolor
80 }
81
82
83
84 --
85 gentoo-commits@g.o mailing list