void-packages/srcpkgs/kbd/template

30 lines
1 KiB
Text

# Template file for 'kbd'
pkgname=kbd
version=1.15.3
revision=6
build_style=configure
configure_args="--prefix=/usr --datadir=/usr/share/kbd
--localedir=/usr/share/kbd/locale --mandir=/usr/share/man"
makedepends="flex"
short_desc="Linux keyboard utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="ftp://ftp.altlinux.org/pub/people/legion/kbd/"
distfiles="http://ftp.cc.uoc.gr/mirrors/ftp.kernel.org/pub/linux/utils/kbd/kbd-${version}.tar.bz2"
checksum=63fafacf72635a064a370d044b75d9134083a5c15629b0b0f2a27b49bc07bbcf
long_desc="
This package allows you to set up the Linux console, change the font,
resize text mode virtual consoles and remap the keyboard."
depends="kbd-common"
subpackages="kbd-common"
post_install() {
# Remove olpc keymaps, they conflict with qwerty ones!
# and who in earth uses olpc anyway??
rm -rf ${DESTDIR}/usr/share/kbd/keymaps/i386/olpc
# Remove keymaps for sun, amiga and atari.
for f in sun amiga atari; do
rm -rf ${DESTDIR}/usr/share/kbd/keymaps/${f}
done
}