summaryrefslogtreecommitdiff
blob: 1f3470de7dd9fda6b3d7a5a7930e63cc798f4240 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/pawm/pawm-2.0.3.ebuild,v 1.1.1.1 2005/11/30 09:45:10 chriswhite Exp $

DESCRIPTION="A window manager for the X Window system, simple, small and functional"
HOMEPAGE="http://www.pleyades.net/pawm"
SRC_URI="http://www.pleyades.net/pawm/files/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

RDEPEND="virtual/x11"

src_compile() {
	./0 --prefix=/usr || die
	make || die
}

src_install() {
	make DESTDIR="${D}" install || die "make install failed"

	dodoc AUTHORS Changelog INSTALL README THANKS

	dodir /etc/X11/Sessions
	echo "/usr/bin/${PN}" > ${D}/etc/X11/Sessions/${PN}
	fperms a+x /etc/X11/Sessions/${PN}

	insinto /usr/share/xsessions
	doins ${FILESDIR}/${PN}.desktop
}


pkg_postinst() {
	einfo "Read /usr/share/doc/${PF}/Install.gz for configuration options."
}