summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-wm/xmonad/ChangeLog9
-rw-r--r--x11-wm/xmonad/files/digest-xmonad-0.5-r13
-rw-r--r--x11-wm/xmonad/xmonad-0.5-r1.ebuild44
3 files changed, 54 insertions, 2 deletions
diff --git a/x11-wm/xmonad/ChangeLog b/x11-wm/xmonad/ChangeLog
index f9e8e2a67b0b..7ae170b4a88e 100644
--- a/x11-wm/xmonad/ChangeLog
+++ b/x11-wm/xmonad/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-wm/xmonad
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/xmonad/ChangeLog,v 1.2 2007/12/15 23:03:04 kolmodin Exp $
+# 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 $
+
+*xmonad-0.5-r1 (02 Jan 2008)
+
+ 02 Jan 2008; Lennart Kolmodin <kolmodin@gentoo.org> +xmonad-0.5-r1.ebuild:
+ Install configuration instruction and sample config
*xmonad-0.5 (16 Dec 2007)
diff --git a/x11-wm/xmonad/files/digest-xmonad-0.5-r1 b/x11-wm/xmonad/files/digest-xmonad-0.5-r1
new file mode 100644
index 000000000000..074bd78b05a4
--- /dev/null
+++ b/x11-wm/xmonad/files/digest-xmonad-0.5-r1
@@ -0,0 +1,3 @@
+MD5 b23951c9d1ba03c6569fd1e573f15509 xmonad-0.5.tar.gz 48853
+RMD160 8e39d8a2ad8e8d16006bdcd1f645d6a31be721f8 xmonad-0.5.tar.gz 48853
+SHA256 cfcc4501b000fa740ed35a5be87dc01216e036219551630dcf71d9c3cf57e4c4 xmonad-0.5.tar.gz 48853
diff --git a/x11-wm/xmonad/xmonad-0.5-r1.ebuild b/x11-wm/xmonad/xmonad-0.5-r1.ebuild
new file mode 100644
index 000000000000..bc420063d6e4
--- /dev/null
+++ b/x11-wm/xmonad/xmonad-0.5-r1.ebuild
@@ -0,0 +1,44 @@
+# 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 $
+
+CABAL_FEATURES="bin lib profile haddock"
+CABAL_MIN_VERSION=1.2
+
+inherit haskell-cabal
+
+DESCRIPTION="A lightweight X11 window manager"
+HOMEPAGE="http://www.xmonad.org/"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+
+DEPEND="dev-haskell/mtl
+ >=dev-haskell/x11-1.4
+ >=dev-lang/ghc-6.6"
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+
+ # -Wall -Werror is really fragile.
+ # portage strips, packages should not do it themselves.
+ sed -i -e 's/-Wall -Werror -optl-Wl,-s//' "${S}/xmonad.cabal"
+}
+
+src_install() {
+ cabal_src_install
+
+ echo -e "#!/bin/sh\n/usr/bin/xmonad" > "${T}/${PN}"
+ exeinto /etc/X11/Sessions
+ doexe "${T}/${PN}"
+
+ insinto /usr/share/xsessions
+ doins "${FILESDIR}/${PN}.desktop"
+
+ doman man/xmonad.1
+
+ dodoc CONFIG README man/xmonad.hs
+}