void-packages/srcpkgs/kbd/template

31 lines
1 KiB
Text
Raw Normal View History

# Template file for 'kbd'
pkgname=kbd
2011-05-16 08:56:01 +00:00
version=1.15.3
revision=6
build_style=configure
2012-03-06 22:13:08 +00:00
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>"
2012-03-06 22:13:08 +00:00
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"
2011-05-16 08:56:01 +00:00
checksum=63fafacf72635a064a370d044b75d9134083a5c15629b0b0f2a27b49bc07bbcf
long_desc="
2012-03-06 22:13:08 +00:00
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"
2012-03-06 22:13:08 +00:00
post_install() {
# Remove olpc keymaps, they conflict with qwerty ones!
# and who in earth uses olpc anyway??
2012-03-06 22:13:08 +00:00
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
}