blob: ba3bf450e86c791bfd936a0c66e15885dc7af8ca (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-wm/trswm/trswm-0.4.9.ebuild,v 1.6 2005/12/26 18:07:47 weeve Exp $
DESCRIPTION="An ion-based window manager that aims to provide a desktop environment based on the keyboard, making the mouse optional"
HOMEPAGE="http://www.relex.ru/~yarick/trswm/"
SRC_URI="http://www.relex.ru/~yarick/${PN}/${P}.tar.gz"
LICENSE="as-is"
IUSE="debug"
SLOT="0"
KEYWORDS="alpha hppa ~mips sparc ~x86"
DEPEND="virtual/x11
>=dev-lang/lua-5"
src_compile() {
local debugconf=""
use debug \
&& debugconf="--with-debug=2" \
|| debugconf="--with-debug=0"
econf ${debugconf} || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
# move the real window manager binary away, and install
# our own wrapper script in its place
mv ${D}/usr/bin/trswm ${D}/usr/bin/trswm.bin
dobin ${FILESDIR}/trswm
dodoc BUGS Roadmap TODO
}
pkg_postinst() {
einfo "To use trswm please use \"exec trswm\" in ~/.xinitrc."
echo ""
einfo "The trswm script installed here is a wrapper around the"
einfo "trswm binary (trswm.bin), which will install the"
einfo "necessary configuration files in \$HOME/.trswm-devel/"
einfo "Please see trswm --help for additional usage information."
echo ""
}
|