summaryrefslogtreecommitdiff
blob: d5ffd7b925f80cfd5f6a3d050e763dc50c82cbc4 (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
# 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-agenda/karamba-agenda-0.1.ebuild,v 1.7 2004/02/28 17:58:57 aliz Exp $

DESCRIPTION="Current Agenda plugin for Karamba"
HOMEPAGE="http://www.kdelook.org/content/show.php?content=5793"
SRC_URI="http://www.kdelook.org/content/files/5793-agenda.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc"

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

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

src_compile () {
	echo -n ""
}

src_install () {
	dodir /usr/share/karamba/bin /usr/share/karamba/themes
	sed -e 's#/home/petros/.kde/share/apps/karamba/agenda/agenda.txt#$HOME/.karamba/agenda.txt#' \
		agenda.sh > ${D}/usr/share/karamba/bin/agenda.sh
	chmod 755 ${D}/usr/share/karamba/bin/agenda.sh

	dodir /usr/share/karamba/themes/agenda
	sed -e 's#/home/petros/.kde/share/apps/karamba/agenda/##' agenda.theme \
		> ${D}/usr/share/karamba/themes/agenda/agenda.theme
	cp -r pics ${D}/usr/share/karamba/themes/agenda
	chmod -R go=u,go-w ${D}/usr/share/karamba/themes/agenda

	dodoc README
}