summaryrefslogtreecommitdiff
blob: 67a9bf5413e2669f7b792b69bf52649935f33f80 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/psi-themes/psi-themes-0.9.3_p1-r2.ebuild,v 1.5 2008/07/19 12:52:55 aballier Exp $

SMILEYS="critters-1.0.jisp
	icq-2002a.jisp
	ikonboard-3.1.jisp
	KMess-Cartoon-1.0.jisp
	kreativ_squareheads.jisp
	megapack-1.0.jisp
	Ninja.jisp
	patricks_faces-1.0.jisp
	shinyicons.jisp
	gadu-gadu.jisp
	emot-daw.jisp
	emot-gg.jisp
	emot-ro.jisp"

ICONSETS="amirose.7z
	crystal_roster.jisp
	crystal_aimbulb.jisp
	crystal_aim.jisp
	crystal_gadu.jisp
	crystal_icqbulb.jisp
	crystal_icq.jisp
	crystal_msnbulb.jisp
	crystal_msn.jisp
	crystal_sms.jisp
	crystal_tlen.jisp
	crystal_transport.jisp
	crystal_weatherbulb.jisp
	crystal_yahoobulb.jisp
	crystal_yahoo.jisp
	amirosebulb.jisp
	amirose_gg.jisp
	amiroseglobe.jisp
	amirose_tlen.jisp
	chromepl.jisp
	crystalgg.jisp
	dictionary_es.jisp
	email.jisp
	gadugadu.jisp
	gggangsta.jisp
	ggskazi.jisp
	ggstarfish.jisp
	hamtaro.jisp
	headlines.jisp
	hexicubes.jisp
	icqgangsta.jisp
	individual.jisp
	kb_shiny_weather.jisp
	kmess-crystal.jisp
	msn6.jisp
	nuvola-dicts.jisp
	nuvola.jisp
	psidudes.jisp
	psi_tag.jisp
	psi-daisy.7z
	shadowrss.jisp
	shadowwpk.jisp
	sms2.jisp
	speechbubbles.jisp
	squareheads.jisp
	stellar.jisp
	stellartransport.jisp
	tlen.jisp
	tlenrael.jisp
	weatheraqua.jisp
	weather.jisp
	wpkontakt2.jisp
	wpkontakt3.jisp
	ztm.jisp"

SYSTEMSETS="crystal_system.jisp
	system-psi.jisp
	nuvola-system.jisp"

VMAIN="1.0"
VCRYS="0.5"
VNETF="1.0"
HTTPIURI="http://vivid.dat.pl/psi"
SRC_URI="${HTTPIURI}/emots-main-${VMAIN}.tar.bz2
	${HTTPIURI}/gadu-gadu-1.0.tar.bz2
	${HTTPIURI}/emots-crystal-${VCRYS}.tar.bz2
	${HTTPIURI}/emots-netflint-${VNETF}.tar.bz2"

DESCRIPTION="Iconsets for Psi, a QT 3.x Jabber Client"
HOMEPAGE="http://psi.affinix.com/ http://jisp.netflint.net/"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND=">=net-im/psi-0.9.2"

S="${WORKDIR}"

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

	mkdir roster
	for FILE in ${ICONSETS}; do
		if [ -e emots/${FILE} ]; then
			mv emots/${FILE} roster
		fi
	done;

	mkdir emoticons
	for FILE in ${SMILEYS}; do
		if [ -e emots/${FILE} ]; then
			mv emots/${FILE} emoticons
		fi
	done;

	mkdir system
	for FILE in ${SYSTEMSETS}; do
		if [ -e emots/${FILE} ]; then
			mv emots/${FILE} system
		fi
	done;
}

src_install() {
	dodir /usr/share/psi/iconsets
	mv {emoticons,system,roster} ${D}/usr/share/psi/iconsets/
}