diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/commonbox.eclass | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/eclass/commonbox.eclass b/eclass/commonbox.eclass index 0fdcd5cb583b..439f7b9aa7c0 100644 --- a/eclass/commonbox.eclass +++ b/eclass/commonbox.eclass @@ -1,7 +1,7 @@ # Copyright 2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 # Author: Seemant Kulleen <seemant@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/commonbox.eclass,v 1.1 2002/07/14 21:39:03 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/commonbox.eclass,v 1.2 2002/07/14 23:01:40 seemant Exp $ # The commonbox eclass is designed to allow easier installation of the box # window managers such as blackbox and fluxbox and commonbox @@ -75,6 +75,7 @@ commonbox_src_compile() { commonbox_src_install() { + dodir /usr/share/commonbox einstall || die dodoc README* AUTHORS TODO* ${mydoc} @@ -84,7 +85,15 @@ commonbox_src_install() { MYBIN=${PN} fi + # move nls stuff + use nls && ( \ + dodir /usr/share/commonbox/${MYBIN} + mv ${D}/usr/share/${MYBIN}/nls ${D}/usr/share/commonbox/${MYBIN} + ) + + rmdir ${D}/usr/share/${MYBIN} + dodir /etc/X11/Sessions echo "/usr/bin/${MYBIN}" > ${D}/etc/X11/Sessions/${MYBIN} - fperm +x /etc/X11/Sessions/${MYBIN} + fperms 755 /etc/X11/Sessions/${MYBIN} } |