summaryrefslogtreecommitdiff
blob: e33b7f0cacdf1607f727e9b8f73fac7ac323fa52 (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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/karamba-weather/karamba-weather-0.3.ebuild,v 1.1 2003/05/04 01:22:19 prez Exp $

DESCRIPTION="Weather plugin for Karamba"
HOMEPAGE="http://www.kdelook.org/content/show.php?content=5635"
SRC_URI="http://www.kdelook.org/content/files/5635-karamba_weather-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

RDEPEND="|| (x11-misc/karamba-0.17 x11-misc/superkaramba-0.21)"

src_unpack () {
	unpack 5635-karamba_weather-${PV}.tar.gz
	mv karamba_weather ${P}
}

src_compile () {
	echo -n ""
}

src_install () {
	dodir /usr/share/karamba/bin /usr/share/karamba/themes
	cp k_weather.py ${D}/usr/share/karamba/bin
	chmod 755 ${D}/usr/share/karamba/bin/k_weather.py

	cp -r lcd ${D}/usr/share/karamba/themes/lcd_weather
	cp -r wind_icons ${D}/usr/share/karamba/themes/lcd_weather
	chmod -R go=u,go-w ${D}/usr/share/karamba/themes/lcd_weather

	cp -r plain ${D}/usr/share/karamba/themes/plain_weather
	cp -r wind_icons ${D}/usr/share/karamba/themes/plain_weather
	chmod -R go=u,go-w ${D}/usr/share/karamba/themes/plain_weather

	dodoc CHANGELOG README
}