summaryrefslogtreecommitdiff
blob: 81e74c104c55cfc5a8b970aaf9c868b70610adc2 (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
38
39
40
# 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-bluebar_kroller/karamba-bluebar_kroller-0.84.ebuild,v 1.3 2004/02/28 17:58:57 aliz Exp $

DESCRIPTION="Kroller and Bluebar plugins together for Karamba"
HOMEPAGE="http://www.kde-look.org/content/show.php?content=5972"
SRC_URI="http://www.kde-look.org/content/files/5972-bluebar_kroller.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"

RDEPEND=">=x11-misc/superkaramba-0.21
	media-plugins/xmms-find
	media-sound/xmmsctrl"

src_unpack () {
	unpack ${A}
	mv bluebar_pub ${P}
}

src_compile () {
	echo -n ""
}

src_install () {
	dodir /usr/share/karamba/themes/bluebar_kroller
	sed -e 's#import karamba#import karamba\nimport os#' \
		-e 's#"/home/nonooo/boulot/bluebar_pub/bluebar.conf#os.environ["HOME"] + "/.karamba/bluebar_kroller.conf#' \
		bluebar.py > ${D}/usr/share/karamba/themes/bluebar_kroller/bluebar_kroller.py
	sed -e 's#/home/petros/.bin/##g' \
		-e 's/#CLICKAREA/CLICKAREA/g' bluebar.theme \
		> ${D}/usr/share/karamba/themes/bluebar_kroller/bluebar_kroller.theme
	cp -r icons ${D}/usr/share/karamba/themes/bluebar_kroller
	cp -r pics ${D}/usr/share/karamba/themes/bluebar_kroller
	chmod -R go=u,go-w ${D}/usr/share/karamba/themes/bluebar_kroller

	mv bluebar.conf bluebar_kroller.conf

	dodoc bluebar_kroller.conf
}