summaryrefslogtreecommitdiffstats
path: root/x11-themes/ds-themes/ds-themes-1.0.ebuild
blob: 3c93f468eab837f196736b7bc9b6d43180edbcea (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 

DESCRIPTION="GTK themes"
HOMEPAGE="http://www.windowmaker.org/"

THEME_URI="http://dside.dyndns.org/files/darklin/themes"
SRC_URI="${THEME_URI}/aquax-gtk2-default-1.0-rc1.tar.gz
    ${THEME_URI}/gnuaquase-default-0.5.tar.gz
    ${THEME_URI}/h2o-gtk2-default-2.0.tar.gz
    ${THEME_URI}/gtk-themes-extra-4.tar.bz2"
    
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 ppc sparc x86"

src_unpack() {
	mkdir ${S}
	cd ${S}
	for i in ${SRC_URI} ; do
		bn=`basename $i`
		unpack ${bn}
	done
}

src_install () {
	dodir /usr/share/themes
	cp -pR * ${D}/usr/share/themes/
	chown -R root:0 ${D}/usr/share/themes/
	chmod -R o-w ${D}/usr/share/themes/
	
	dodir /etc/gtk
	install -m 644 ${FILESDIR}/gtkrc ${D}/etc/gtk/
}