summaryrefslogtreecommitdiff
blob: ea62a41a8395e7a39e3abfeb503a699075c465b1 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /mnt/back/repository/c/wbar/ebuild/wbar-1.2.ebuild,v 1.3 2006/12/29 02:39:34 warlock Exp $

inherit eutils

DESCRIPTION="Light, fast and animated quick launch bar"
HOMEPAGE="http://www.tecnologia-aplicada.com.ar/rodolfo/"
SRC_URI="http://www.tecapli.com.ar/rodolfo/${P}.tbz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="animation"

DEPEND="media-libs/imlib2"
RDEPEND="${DEPEND}"

src_unpack() {
	unpack ${A}
	cd "${S}"

	use animation && epatch animation2.patch
}

src_install() {

	dodir /usr/share/wbar/
	awk '{if($$1 ~ /i:/ || ($$1 ~ /t:/ && NR<4)) print $$1" /usr/share/wbar/"$$2; else
	print $$0;}' dot.wbar > "${D}/usr/share/wbar/dot.wbar"

	cp -a wbar.icons "${D}/usr/share/wbar"
	dobin wbar
}