/[gentoo-x86]/x11-themes/metacity-themes/metacity-themes-1.2.ebuild
Gentoo

Contents of /x11-themes/metacity-themes/metacity-themes-1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Mar 30 17:27:28 2013 UTC (5 years ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
Clean up old revision.

(Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key C6085806)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-themes/metacity-themes/metacity-themes-1.2.ebuild,v 1.8 2013/01/16 22:27:24 ulm Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Some nice themes for MetaCity"
8 S=${WORKDIR}
9 THEME_URI="http://ftp.gnome.org/pub/GNOME/teams/art.gnome.org/themes/metacity/"
10 SRC_URI="${THEME_URI}CityBox-0.10.tar.gz
11 ${THEME_URI}MCity-BeautifulAndFree-0.1.tar.gz
12 ${THEME_URI}MCity-C2.tar.gz
13 ${THEME_URI}MCity-Carved-1.0.tar.gz
14 ${THEME_URI}MCity-Cazador.tar.gz
15 ${THEME_URI}MCity-ClearboxLookBis.tar.gz
16 ${THEME_URI}MCity-Clearlooks2Squared.tar.bz2
17 ${THEME_URI}MCity-Clearlooks2SquaredBerries.tar.gz
18 ${THEME_URI}MCity-ClearlooksBlend.tar.bz2
19 ${THEME_URI}MCity-ClearlooksWithACherryOnTop.tar.gz
20 ${THEME_URI}MCity-CorrecaminsTheme1.tar.bz2
21 ${THEME_URI}MCity-Gilouche.tar.gz
22 ${THEME_URI}MCity-Iris.tar.gz
23 ${THEME_URI}MCity-Keramik-SCO-Blue-0.1.tar.gz
24 ${THEME_URI}MCity-McBlue-1.0.tar.gz
25 ${THEME_URI}MCity-MetaGrip.tar.gz
26 ${THEME_URI}MCity-MetaMile-Marker-0.2.tar.gz
27 ${THEME_URI}MCity-Mista.tar.bz2
28 ${THEME_URI}MCity-Outline.tar.gz
29 ${THEME_URI}MCity-Posh.tar.gz
30 ${THEME_URI}MCity-PrettyMeta-Thin-0.1.tar.gz
31 ${THEME_URI}MCity-Quiet-Purple.tar.gz
32 ${THEME_URI}MCity-ShinyTango.tar.gz
33 ${THEME_URI}MCity-TangoDance.tar.bz2
34 ${THEME_URI}MCity-TigertCrack-1.2.1.tar.gz
35 ${THEME_URI}MCity-VistaBasic.tar.gz
36 ${THEME_URI}MCity-W2k.tar.gz
37 ${THEME_URI}SmallPill-Citrus-0.2.tar.gz"
38 # File collisions with gnome-themes
39 # ${THEME_URI}MCity-Clearlooks2.tar.gz
40
41 HOMEPAGE="http://art.gnome.org/themes/metacity/"
42
43 RDEPEND="x11-wm/metacity"
44 DEPEND="${RDEPEND}"
45
46 LICENSE="GPL-2 public-domain"
47 SLOT="0"
48 KEYWORDS="amd64 ppc sparc x86"
49 IUSE=""
50
51 src_unpack() {
52 return 0
53 }
54
55 src_compile() {
56 einfo "Nothing to compile"
57 }
58
59 src_install() {
60 dodir /usr/share/themes
61 cd "${D}/usr/share/themes"
62
63 unpack ${A}
64
65 find "${WORKDIR}" -exec touch "{}" \;
66
67 for dir in *
68 do
69 # Fix directory names that contain spaces
70 if echo "${dir}" | egrep -q "[[:space:]]"
71 then
72 new_dir=`echo "${dir}" | sed -e 's: :_:g'`
73 mv "${dir}" $new_dir
74 dir=$new_dir
75 fi
76
77 if [ ! -d "${dir}"/metacity-1 ]
78 then
79 mkdir tmp
80 mv "${dir}"/* tmp
81 mv tmp "${dir}"/metacity-1
82 fi
83 done
84
85 # This patch corrects some XML files that are considered incomplete by
86 # Metacity
87 epatch "${FILESDIR}/${PN}-1.2-gentoo.diff"
88
89 chmod -R ugo=rX *
90
91 # Remove all of the .xvpics directories, see bug #97368
92 find . -type d -iname ".xvpics" | xargs rm -rf
93 }

  ViewVC Help
Powered by ViewVC 1.1.20