alpha-quadrant/sys-apps/kbd-neo/kbd-neo-2221.ebuild

37 lines
750 B
Bash
Raw Normal View History

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/"
2014-01-21 16:05:11 +01:00
SRC_URI="http://wiki.neo-layout.org/export/${PV}/linux/console/neo.map -> ${P}.map"
2009-10-21 13:12:14 +02:00
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
2014-01-21 16:05:11 +01:00
gzip -c "${S}"/${P}.map > ${D}/$installdir/neo.map.gz
2009-10-21 13:12:14 +02:00
}
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\" "
}