# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-wm/trswm/trswm-0.5.2.ebuild,v 1.4 2006/10/11 15:05:08 exg Exp $ DESCRIPTION="An ion-based window manager that aims to provide a desktop environment based on the keyboard, making the mouse optional" HOMEPAGE="http://yarick.territory.ru/trswm/" SRC_URI="http://yarick.territory.ru/${PN}/${P}.tar.gz" LICENSE="as-is" IUSE="debug" SLOT="0" KEYWORDS="~alpha ~hppa ~mips ~sparc ~x86 ~ppc" 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 "" }