From 954dd19d3aea85f579d1f9c84f4456be5aec7c51 Mon Sep 17 00:00:00 2001 From: Seemant Kulleen Date: Tue, 22 Mar 2005 16:00:53 +0000 Subject: install the man pages as gtk-theme-switch{,2} and put in symlinks for switch{,2} -- these will get put in on non-mac-os systems. Closes bug #63012 by Michal Suchanek Package-Manager: portage-2.0.51.19 --- x11-themes/gtk-theme-switch/Manifest | 5 +++ .../gtk-theme-switch-1.0.1-r2.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 x11-themes/gtk-theme-switch/gtk-theme-switch-1.0.1-r2.ebuild (limited to 'x11-themes') diff --git a/x11-themes/gtk-theme-switch/Manifest b/x11-themes/gtk-theme-switch/Manifest index a96c8153b55e..3c9bff2bc5bd 100644 --- a/x11-themes/gtk-theme-switch/Manifest +++ b/x11-themes/gtk-theme-switch/Manifest @@ -1,6 +1,11 @@ MD5 f11d8628660d619654f875aa708f7513 ChangeLog 3595 MD5 e4db5c8a9d072dddcf4d680f116073fa gtk-theme-switch-1.0.1-r1.ebuild 873 MD5 53d0ab0560b7c567640b91bb268d65a6 gtk-theme-switch-2.0.0_rc2-r1.ebuild 874 +MD5 c28e626e8cf02a776a7918e574f8dce0 gtk-theme-switch-2.0.0_rc2-r2.ebuild 924 +MD5 b68fb5f668070579e860f9dacd82d413 metadata.xml 259 +MD5 4d1b06f4958822a1331c790e0617c983 gtk-theme-switch-1.0.1-r2.ebuild 1064 MD5 1c38d179252effd8ef3279ab20bf8181 files/digest-gtk-theme-switch-1.0.1-r1 147 MD5 a1e3741e017380e41ad84136abea9284 files/digest-gtk-theme-switch-2.0.0_rc2-r1 153 MD5 2fd14f20a592a23b3cba7552d0c74490 files/gtk-theme-switch-2.0.0_rc2-gtk+-2.4_fix.patch 360 +MD5 1c38d179252effd8ef3279ab20bf8181 files/digest-gtk-theme-switch-1.0.1-r2 147 +MD5 a1e3741e017380e41ad84136abea9284 files/digest-gtk-theme-switch-2.0.0_rc2-r2 153 diff --git a/x11-themes/gtk-theme-switch/gtk-theme-switch-1.0.1-r2.ebuild b/x11-themes/gtk-theme-switch/gtk-theme-switch-1.0.1-r2.ebuild new file mode 100644 index 000000000000..a72f6be849d6 --- /dev/null +++ b/x11-themes/gtk-theme-switch/gtk-theme-switch-1.0.1-r2.ebuild @@ -0,0 +1,44 @@ +# 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.1 2005/03/22 16:00:53 seemant 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="x86 ppc sparc alpha ~hppa ~amd64 ~ia64" +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/ + 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 +} -- cgit v1.2.3-65-gdbad