void-packages/srcpkgs/kbd/template

28 lines
971 B
Plaintext

# Template file for 'kbd'
pkgname=kbd
version=1.15.3
revision=4
#distfiles="${KERNEL_SITE}/utils/kbd/kbd-$version.tar.bz2"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/kbd/kbd-1.15.3.tar.bz2/be28c144ba7b3e1cf630f909ae8e9875/kbd-1.15.3.tar.bz2"
build_style=configure
configure_args="--datadir=/lib/kbd --bindir=/sbin
--datarootdir=/usr/share --mandir=/usr/share/man"
short_desc="Linux keyboard utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=63fafacf72635a064a370d044b75d9134083a5c15629b0b0f2a27b49bc07bbcf
long_desc="
The kbd package contains keytable files and keyboard utilities compatible
with kernel version 1.1.54 and later. Setfont requires 1.1.92 or later."
Add_dependency build flex
Add_dependency build gettext
post_install()
{
vmkdir usr/share
mv ${DESTDIR}/lib/kbd/locale ${DESTDIR}/usr/share
# Remove olpc keymaps, they conflict with qwerty ones!
# and who in earth uses olpc anyway??
rm -rf ${DESTDIR}/lib/kbd/keymaps/i386/olpc
}