diff options
author | Alec Warner <antarus@gentoo.org> | 2006-05-28 15:08:02 +0000 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2006-05-28 15:08:02 +0000 |
commit | fa87e1f19f70cbeb2cdc6eba0ab6701720900115 (patch) | |
tree | 1979c6bd6ba79fb96d5292a0e85d85b9a5b8ed21 /x11-themes | |
parent | Fix DEPEND/RDEPEND issue, thanks to carlo in bug #134644. (diff) | |
download | gentoo-2-fa87e1f19f70cbeb2cdc6eba0ab6701720900115.tar.gz gentoo-2-fa87e1f19f70cbeb2cdc6eba0ab6701720900115.tar.bz2 gentoo-2-fa87e1f19f70cbeb2cdc6eba0ab6701720900115.zip |
Changing cp -R to doins -r to prevent executable bit on styles for bug #132244
(Portage version: 2.1_rc2-r3)
Diffstat (limited to 'x11-themes')
3 files changed, 67 insertions, 2 deletions
diff --git a/x11-themes/fluxbox-styles-fluxmod/ChangeLog b/x11-themes/fluxbox-styles-fluxmod/ChangeLog index 045a537c3106..04e45065448a 100644 --- a/x11-themes/fluxbox-styles-fluxmod/ChangeLog +++ b/x11-themes/fluxbox-styles-fluxmod/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-themes/fluxbox-styles-fluxmod -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-themes/fluxbox-styles-fluxmod/ChangeLog,v 1.25 2005/07/12 04:52:54 geoman Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/fluxbox-styles-fluxmod/ChangeLog,v 1.26 2006/05/28 15:08:02 antarus Exp $ + +*fluxbox-styles-fluxmod-20050128-r1 (28 May 2006) + + 28 May 2006; Alec Warner <antarus@gentoo.org> + +fluxbox-styles-fluxmod-20050128-r1.ebuild: + Changing cp -R to doins -r to prevent executable bit on styles for bug #132244 12 Jul 2005; Stephen P. Becker <geoman@gentoo.org> fluxbox-styles-fluxmod-20050128.ebuild: diff --git a/x11-themes/fluxbox-styles-fluxmod/files/digest-fluxbox-styles-fluxmod-20050128-r1 b/x11-themes/fluxbox-styles-fluxmod/files/digest-fluxbox-styles-fluxmod-20050128-r1 new file mode 100644 index 000000000000..37ac5ab9d8dd --- /dev/null +++ b/x11-themes/fluxbox-styles-fluxmod/files/digest-fluxbox-styles-fluxmod-20050128-r1 @@ -0,0 +1 @@ +MD5 b13724c8280e1d1432b79067ddecfbce fluxbox-styles-fluxmod-20050128.tar.bz2 1279479 diff --git a/x11-themes/fluxbox-styles-fluxmod/fluxbox-styles-fluxmod-20050128-r1.ebuild b/x11-themes/fluxbox-styles-fluxmod/fluxbox-styles-fluxmod-20050128-r1.ebuild new file mode 100644 index 000000000000..024302358ae6 --- /dev/null +++ b/x11-themes/fluxbox-styles-fluxmod/fluxbox-styles-fluxmod-20050128-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-themes/fluxbox-styles-fluxmod/fluxbox-styles-fluxmod-20050128-r1.ebuild,v 1.1 2006/05/28 15:08:02 antarus Exp $ + +inherit eutils + +DESCRIPTION="A collection of FluxBox themes from FluxMod" +HOMEPAGE="http://www.fluxmod.dk" +SRC_URI="mirror://gentoo/${P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 mips ppc ppc64 sparc x86" + +IUSE="" +DEPEND=">=sys-apps/sed-4" +RDEPEND=">=x11-wm/fluxbox-0.9.11" + +src_unpack() { + unpack ${A} + cd ${S} + # comment out every rootcommand + find . -name '*.cfg' -exec \ + sed -i "{}" -e 's-^\(rootcommand\)-!!! \1-i' \; + # weird tarball... + find . -exec chmod a+r '{}' \; +} + +src_install() { + cd ${S} + mkdir -p ${D}/usr/share/fluxbox/fluxmod/styles/ || die "mkdir eeked" + insinto /usr/share/fluxbox/fluxmod/styles + doins -r * || die "doins failed" + insinto /usr/share/fluxbox/menu.d/styles + doins ${FILESDIR}/styles-menu-fluxmod +} + +pkg_postinst() { + einfo + einfo "These styles are installed into /usr/share/fluxbox/fluxmod/. The" + einfo "best way to use these styles is to ensure that you are running" + einfo "fluxbox 0.9.10-r3 or later, and then to place the following in" + einfo "your menu file:" + einfo + einfo " [submenu] (Styles) {Select a Style}" + einfo " [include] (/usr/share/fluxbox/menu.d/styles/)" + einfo " [end]" + einfo + einfo "If you use fluxbox-generate_menu or the default global fluxbox" + einfo "menu file, this will already be present." + einfo + einfo "Note that some of these styles use the PNG image format. For" + einfo "these to work, fluxbox must be built with USE=\"imlib\" and" + einfo "imlib2 must be built with USE=\"png\"." + einfo + epause +} + |