summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2008-02-19 19:55:43 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2008-02-19 19:55:43 +0000
commit4f56c945c7e7abe47e33ddac0bfbec78b656a21e (patch)
treef8d1ae47687f8515eac3d2e306cc119351a91f3b /x11-themes/fvwm-crystal/fvwm-crystal-3.0.5-r1.ebuild
parentStable on amd64, bug #210396 (diff)
downloadgentoo-2-4f56c945c7e7abe47e33ddac0bfbec78b656a21e.tar.gz
gentoo-2-4f56c945c7e7abe47e33ddac0bfbec78b656a21e.tar.bz2
gentoo-2-4f56c945c7e7abe47e33ddac0bfbec78b656a21e.zip
Added patch to fix names of env vars (bug #210580). Minor cleanup.
(Portage version: 2.1.4.4)
Diffstat (limited to 'x11-themes/fvwm-crystal/fvwm-crystal-3.0.5-r1.ebuild')
-rw-r--r--x11-themes/fvwm-crystal/fvwm-crystal-3.0.5-r1.ebuild57
1 files changed, 57 insertions, 0 deletions
diff --git a/x11-themes/fvwm-crystal/fvwm-crystal-3.0.5-r1.ebuild b/x11-themes/fvwm-crystal/fvwm-crystal-3.0.5-r1.ebuild
new file mode 100644
index 000000000000..eac6a8f527ca
--- /dev/null
+++ b/x11-themes/fvwm-crystal/fvwm-crystal-3.0.5-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/fvwm-crystal/fvwm-crystal-3.0.5-r1.ebuild,v 1.1 2008/02/19 19:55:43 lucass Exp $
+
+inherit eutils
+
+DESCRIPTION="Configurable and full featured theme for FVWM, with lots of transparency."
+HOMEPAGE="http://fvwm-crystal.org/"
+SRC_URI="http://download.gna.org/${PN}/${PV}/${P}.tar.gz
+ mirror://gentoo/${P}-envfix.patch.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+RDEPEND=">=x11-wm/fvwm-2.5.13
+ media-gfx/imagemagick
+ || ( x11-misc/stalonetray x11-misc/trayer )
+ || ( x11-misc/habak x11-misc/hsetroot )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${WORKDIR}/${P}-envfix.patch"
+}
+
+src_compile() {
+ einfo "There is nothing to compile."
+}
+
+src_install() {
+ einstall || die "einstall failed"
+
+ dodoc AUTHORS README INSTALL NEWS ChangeLog doc/*
+
+ insinto /usr/share/doc/${PF}
+ doins -r addons
+
+ exeinto /etc/X11/Sessions
+ doexe "${FILESDIR}"/fvwm-crystal
+
+ insinto /usr/share/xsessions
+ doins addons/fvwm-crystal.desktop
+}
+
+pkg_postinst() {
+ elog
+ elog "After installation, execute following commands:"
+ elog " $ cp -r /usr/share/doc/${PF}/addons/Xresources ~/.Xresources"
+ elog " $ cp -r /usr/share/doc/${PF}/addons/Xsession ~/.xinitrc"
+ elog
+ elog "Many applications can extend functionality of fvwm-crystal."
+ elog "They are listed in /usr/share/doc/${PF}/INSTALL.gz."
+ elog
+ ewarn "In this release, all hyphens (-) in names of env variables"
+ ewarn "used by FVWM-Crystal have been replaced by underscores (_)."
+ ewarn "You may need to update your configuration."
+}