add neo.map to keymaps.

This commit is contained in:
Micha Glave 2009-10-21 13:12:14 +02:00
parent 06670e44a8
commit 2da1a30ec4
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST neo.map 27812 RMD160 2a17153667a569e521b03c7863214f32f02a9bab SHA1 0d0338568b7ca06f997874c9760420be42804277 SHA256 bf8e18e42b2e91c9eda1847f54702e6513db377fcf4f1906b00103590d87ede3
EBUILD kbd-neo-1992.ebuild 719 RMD160 f99b2327d56ff475eba06e74ababfeb87d630da4 SHA1 200a1b10a21ced268e75d3c2939dc3f852cdcf38 SHA256 3938002251371a5b1ed02258e259380929e05f464f4d05aa6270fbed028926e9

View File

@ -0,0 +1,35 @@
# 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}/"
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\" "
}