summaryrefslogtreecommitdiff
blob: eda4eb85392f73958ce291cd1996c91e8f5d6f72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/peacock/peacock-1.9.1-r1.ebuild,v 1.2 2007/08/19 02:17:08 mr_bones_ Exp $

inherit fdo-mime

DESCRIPTION="A simple GTK HTML editor"
SRC_URI="mirror://sourceforge/peacock/${P}.tar.gz"
HOMEPAGE="http://peacock.sourceforge.net/"

LICENSE="GPL-2"
KEYWORDS="~ppc ~x86"
SLOT="0"
IUSE=""

RDEPEND=">=gnome-base/libgnomeui-2.2
	>=gnome-base/libbonoboui-2.2
	>=gnome-base/libglade-2.0.1
	>=x11-libs/gtksourceview-0.5
	=gnome-extra/gtkhtml-3.0*"

RDEPEND="${RDEPEND}
	>=dev-util/pkgconfig-0.9"

src_install() {
	make "DESTDIR=${D}" install || die "Installation failed"

	dodoc AUTHORS ChangeLog NEWS README TODO

	# menu item
	insinto /usr/share/applications
	doins "${FILESDIR}/${PN}.desktop"
}

pkg_postinst() {
	fdo-mime_desktop_database_update
}