summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorLennart Kolmodin <kolmodin@gentoo.org>2008-01-14 20:10:02 +0000
committerLennart Kolmodin <kolmodin@gentoo.org>2008-01-14 20:10:02 +0000
commit6f499fae2bb29cc9d55c5a2e8acbb2d2f687d438 (patch)
tree3cd5d22da2f894ce64d646ec33d12ff9862b3c4b /x11-wm
parentppc. stable (diff)
downloadgentoo-2-6f499fae2bb29cc9d55c5a2e8acbb2d2f687d438.tar.gz
gentoo-2-6f499fae2bb29cc9d55c5a2e8acbb2d2f687d438.tar.bz2
gentoo-2-6f499fae2bb29cc9d55c5a2e8acbb2d2f687d438.zip
Update x11-wm/xmonad with hints in pkg_postinst
(Portage version: 2.1.3.19)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/xmonad/ChangeLog6
-rw-r--r--x11-wm/xmonad/xmonad-0.5-r1.ebuild26
2 files changed, 29 insertions, 3 deletions
diff --git a/x11-wm/xmonad/ChangeLog b/x11-wm/xmonad/ChangeLog
index 7ae170b4a88e..e9a55fa23ca5 100644
--- a/x11-wm/xmonad/ChangeLog
+++ b/x11-wm/xmonad/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-wm/xmonad
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/ChangeLog,v 1.3 2008/01/02 20:35:13 kolmodin Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/ChangeLog,v 1.4 2008/01/14 20:10:02 kolmodin Exp $
+
+ 14 Jan 2008; Lennart Kolmodin <kolmodin@gentoo.org> xmonad-0.5-r1.ebuild:
+ Update the ebuild with recommendations and hints in pkg_postinst.
+ Patch by "Ivan Miljenovic" <Ivan.Miljenovic@gmail.com>.
*xmonad-0.5-r1 (02 Jan 2008)
diff --git a/x11-wm/xmonad/xmonad-0.5-r1.ebuild b/x11-wm/xmonad/xmonad-0.5-r1.ebuild
index bc420063d6e4..f2eccb25ee13 100644
--- a/x11-wm/xmonad/xmonad-0.5-r1.ebuild
+++ b/x11-wm/xmonad/xmonad-0.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/xmonad-0.5-r1.ebuild,v 1.1 2008/01/02 20:35:13 kolmodin Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/xmonad-0.5-r1.ebuild,v 1.2 2008/01/14 20:10:02 kolmodin Exp $
CABAL_FEATURES="bin lib profile haddock"
CABAL_MIN_VERSION=1.2
@@ -20,6 +20,9 @@ DEPEND="dev-haskell/mtl
>=dev-lang/ghc-6.6"
RDEPEND="${DEPEND}"
+SAMPLE_CONFIG="xmonad.hs"
+SAMPLE_CONFIG_LOC="man"
+
src_unpack() {
unpack ${A}
@@ -40,5 +43,24 @@ src_install() {
doman man/xmonad.1
- dodoc CONFIG README man/xmonad.hs
+ dodoc CONFIG README "${SAMPLE_CONFIG_LOC}/${SAMPLE_CONFIG}"
}
+
+pkg_postinst() {
+ ghc-package_pkg_postinst
+
+ elog "A sample ${SAMPLE_CONFIG} configuration file can be found here:"
+ elog " /usr/share/doc/${PF}/${SAMPLE_CONFIG}"
+ elog "The parameters in this file are the defaults used by xmonad."
+ elog "To customize xmonad, copy this file to:"
+ elog " ~/.xmonad/${SAMPLE_CONFIG}"
+ elog "After editing, use 'mod-q' to dynamically restart xmonad "
+ elog "(where the 'mod' key defaults to 'Alt')."
+ elog ""
+ elog "Read the README or man page for more information, and to see "
+ elog "other possible configurations go to:"
+ elog " http://haskell.org/haskellwiki/Xmonad/Config_archive"
+ elog "Please note that many of these configurations will require the "
+ elog "x11-wm/xmonad-contrib package to be installed."
+}
+