summaryrefslogtreecommitdiff
blob: 7941c980752ad3b795fab0da26086a1bcb12e3f7 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/filelight/filelight-1.0.ebuild,v 1.5 2007/10/05 12:19:18 jer Exp $

inherit kde

DESCRIPTION="Filelight is a tool to display where the space is used on the harddisk"
HOMEPAGE="http://www.methylblue.com/filelight/"
SRC_URI="http://www.methylblue.com/filelight/packages/${P}.tar.bz2"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 hppa ~ppc ~sparc ~x86 ~x86-fbsd"
RDEPEND="x11-apps/xdpyinfo"
IUSE=""

need-kde 3.4

src_unpack() {
	kde_src_unpack
	sed -i -e 's/Generic Name/GenericName/' ${S}/misc/${PN}.desktop
	# Fixes bug 189551.
	sed -i -e 's/MimeType=\(.*\)/MimeType=\1;/' ${S}/misc/${PN}.desktop
}

pkg_postinst() {
	kde_pkg_postinst

	echo
	elog "If you want localisation support for ${PN}, please emerge kde-misc/filelight-i18n."
	echo
}