summaryrefslogtreecommitdiff
blob: b47c9f626ed6ae367eb730cf9e1a7f7907a5b16f (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/propaganda/propaganda-1.0.ebuild,v 1.9 2003/09/06 23:56:39 msterret Exp $

S=${WORKDIR}/Propaganda
DESCRIPTION="Propaganda Volume 1-14 + E. Tiling images for your desktop"
HOMEPAGE="http://www.resexcellence.com/propaganda/index.shtml"
SITE="http://www.resexcellence.com/propaganda/"
# Point to any required sources; these will be automatically
# downloaded by Portage.
SRC_URI="${SITE}Propaganda-Vol-01.tar.gz
	${SITE}Propaganda-Vol-02.tar.gz
	${SITE}Propaganda-Vol-03.tar.gz
	${SITE}Propaganda-Vol-04.tar.gz
	${SITE}Propaganda-Vol-05.tar.gz
	${SITE}Propaganda-Vol-06.tar.gz
	${SITE}Propaganda-Vol-07.tar.gz
	${SITE}Propaganda-Vol-08.tar.gz
	${SITE}Propaganda-Vol-09.tar.gz
	${SITE}Propaganda-Vol-10.tar.gz
	${SITE}Propaganda-Vol-11.tar.gz
	${SITE}Propaganda-Vol-12.tar.gz
	${SITE}Propaganda-13.tar.gz
	${SITE}Propaganda-14.tar.gz
	${SITE}Propaganda-For-E.tar.gz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

DEPEND="virtual/glibc"

src_compile() {
	rm -fr ${S}/../Propaganda-Vol-11/.finderinfo
	rm -fr ${S}/../Propaganda-Vol-11/.resource

	rm -fr ${S}/../Propaganda-Vol-12/.finderinfo
	rm -fr ${S}/../Propaganda-Vol-12/.resource

	mv ${S}/../Propaganda-Vol-11 ${S}/Vol11
	mv ${S}/../Propaganda-Vol-12 ${S}/Vol12

	for NUM in 1 2 3 4 5 6 7 8 9 10 11 12 13 14; do
		chmod -x ${S}/Vol${NUM}/*
		cd ${S}/Vol${NUM}
		rm *.html
		rename JPG jpg *.JPG
		chmod +x script.perl
		./script.perl *.jpg
	done
	chmod -x ${S}/Propaganda-For-E/*
	cd ${S}/Propaganda-For-E/
	rm *.html
	rename JPG jpg *.JPG
	chmod +x script.perl
	./script.perl *.jpg
	cd ${S}
	pwd
	rm -f ${S}/Vol2/\@
	chmod ugo-w -R ${S}
	chmod ugo+r -R ${S}
}

src_install() {
	dodir /usr/share/pixmaps/
	gunzip magicbg.tar.gz
	dodoc COPYING READM*  magicbg.tar
	mv -f ${S} ${D}/usr/share/pixmaps || die
}