summaryrefslogtreecommitdiff
blob: e5640e83b82df16d1b9583a56eea7e86bc535e95 (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/pidgin-smileys/pidgin-smileys-20080819.ebuild,v 1.1 2008/08/20 01:55:03 beandog Exp $

DESCRIPTION="Pidgin smiley themes"
HOMEPAGE="http://pidgin.im/"
SRC_URI="http://gaim.sourceforge.net/exhaustive.tar.gz
	http://www.the-kgb.org/~reivec/Bugeyes.tar.gz
	http://www.the-kgb.org/~reivec/CrystalAIM.tar.gz
	http://www.the-kgb.org/~reivec/EasterAIM.tar.gz
	http://www.gnomepro.com/smallsmiles/SmallSmiles.tar.gz
	http://users.skynet.be/xterm/tweak-0.1.3.tar.gz
	http://hejieshijie.net/files/Maya.tar.gz
	http://stephane.pontier.free.fr/projects/TrillyPro.tgz
	http://www.rit.edu/~kod1929/Aqua.tar.gz
	http://www.rit.edu/~kod1929/Jimmac_2.tar.gz
	http://smart-idiot.no-ip.com/smilies/smart.zip
	http://www.geocities.com/drewd146/Hand_Drawn.zip
	http://www.zicklepop.com/downloads/dudes.zip
	http://www.pfarroli.de/monne/piko/icq_lite.tar.gz
	http://www.mbpublish.de/downloads/icq-lite-4_smileys.tar.gz
	http://kolobok.us/files/user/kolobok_for_gaim.tar.gz"

LICENSE="as-is"
IUSE=""
SLOT="0"

KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
RDEPEND="net-im/pidgin"
DEPEND="app-arch/unzip"

S="${WORKDIR}"

src_unpack() {
	unpack ${A}

	# Delete all files not theme-related
	find "${S}" -type f ! -name '*.png' -and ! -name '*.gif' -and ! -name '*.jpg' -and ! -name 'theme' -delete
}

src_install() {
	dodir /usr/share/pixmaps/pidgin/emotes
	cp -r "${S}"/* "${D}"/usr/share/pixmaps/pidgin/emotes
}

pkg_postinst() {
	einfo "To request a new theme to be added, file a request at"
	einfo "http://bugs.gentoo.org/"
}