blob: 97b40827d6def6fa5719a399ef78ba7e842d5d3c (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-theme-switch/gtk-theme-switch-1.0.1-r2.ebuild,v 1.3 2005/11/01 12:30:30 ranger Exp $
inherit eutils
DESCRIPTION="Application for easy change of GTK-Themes"
HOMEPAGE="http://www.muhri.net/nav.php3?node=gts"
SRC_URI="http://www.muhri.net/${P}.tar.gz
mirror://gentoo/${P}b.patch.gz"
SLOT="1.2"
LICENSE="GPL-2"
KEYWORDS="alpha ~amd64 ~hppa ~ia64 ppc ~ppc64 sparc x86"
IUSE=""
DEPEND="=x11-libs/gtk+-1.2*"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${WORKDIR}/${P}b.patch
}
src_compile() {
make || die
}
src_install () {
dodir usr/share
dodir usr/share/man
dodir usr/share/man/man1
make PREFIX=${D}usr install || die
mv ${D}usr/man/switch.1* ${D}usr/share/man/man1/
# fix for 63012
mv ${D}/usr/share/man/man1/{,gtk-theme-}switch.1*
dodoc ChangeLog readme*
}
pkg_preinst() {
if [ ! -f ${ROOT}/usr/share/man/man1/switch.1* ]
then
ln -sf ${IMAGE}/usr/share/man/man1/{gtk-theme-,}switch.1.gz
fi
}
|