summaryrefslogtreecommitdiff
blob: e177759c94ef089aee6c93187e827e5c3ccb5540 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ktraynetworker/ktraynetworker-0.8c.ebuild,v 1.1 2005/04/26 16:06:41 carlo Exp $

inherit kde

P_RES="ktraynetworker_resources_0.2"

DESCRIPTION="KDE tray icon Network activity monitor"
HOMEPAGE="http://www.xiaprojects.com/www/prodotti/ktraynetworker/main.php"
SRC_URI="http://www.xiaprojects.com/www/downloads/files/ktraynetworker/${P}.tar.bz2
	http://www.xiaprojects.com/www/downloads/files/ktraynetworker/${P_RES}.tar.bz2"

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

need-kde 3.2

src_unpack()
{
	kde_src_unpack
	mkdir themes
	tar -x -j -f ${WORKDIR}/${P_RES}/themes.tar.bz2 -C ./themes || die "Themes tarball could not be unpacked."
}

src_install()
{
	kde_src_install
	dodir /usr/share/apps/ktraynetworker/themes
	cp -r themes/* ${D}/usr/share/apps/ktraynetworker/themes
}