summaryrefslogtreecommitdiff
blob: 5bb2ee7bbb756bdca7fef5f503034b456742d09b (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-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit kde4-base

MY_P=plasma_${PN/-/_}-${PV}

DESCRIPTION="Displays stock quotes pulled from the Yahoo! servers"
HOMEPAGE="http://www.kde-look.org/content/show.php/Stock+Quote?content=90695"
SRC_URI="http://www.kde-look.org/CONTENT/content-files/90695-${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="4"
KEYWORDS="amd64 x86"
IUSE="debug"

RDEPEND="
	$(add_kdebase_dep plasma-workspace)
"
S=${WORKDIR}/${MY_P}

DOCS=( CHANGELOG README )

src_prepare() {
	sed -e 's:^[ \t]*::' \
		-i applet/plasma-applet-stock-quote.desktop || die "fixing .desktop file failed"
	sed -e 's:^[ \t]*::' \
		-i dataengine/plasma-dataengine-stockquote.desktop || die "fixing .desktop file failed"
	kde4-base_src_prepare
}