summaryrefslogtreecommitdiff
blob: 853404223bc71f78da60d6d9eba144e1b92df2fa (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
41
42
43
# Copyright 1999-2004 Gentoo Foundation
# 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.6 2004/08/28 16:48:12 eldad Exp $

IUSE=""
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%20mixed%20kroller.tar.gz"
SRC_URI="http://dev.gentoo.org/~eldad/distfiles/5972-bluebar_mixed_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
}