2009-10-21 13:12:14 +02:00
|
|
|
# Copyright 1999-2009 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
|
|
|
DESCRIPTION="Neo console keyboardlayout"
|
|
|
|
HOMEPAGE="http://neo-layout.org/"
|
|
|
|
SRC_URI="http://wiki.neo-layout.org/export/${PV}/linux/console/neo.map"
|
|
|
|
|
|
|
|
LICENSE="CC-BY-SA"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="sys-apps/kbd"
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${DISTDIR}/"
|
2010-03-30 15:35:33 +02:00
|
|
|
RESTRICT="mirror"
|
2009-10-21 13:12:14 +02:00
|
|
|
|
|
|
|
installdir="/usr/share/keymaps/i386/neo2"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
elog ""
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dodir $installdir
|
|
|
|
gzip -c "${S}"/neo.map > ${D}/$installdir/neo.map.gz
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
elog "To use neo-layout set keymap=\"neo\" in /etc/conf.d/keymaps "
|
|
|
|
elog "or load for your console \"loadkeys $installdir/neo.map.gz\" "
|
|
|
|
}
|
|
|
|
|