kbd: install stuff to /usr.

This commit is contained in:
Juan RP 2012-03-06 23:13:08 +01:00
parent a487d2deca
commit 0e1f798d22

View file

@ -1,26 +1,24 @@
# 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"
revision=5
homepage="ftp://ftp.altlinux.org/pub/people/legion/kbd/"
distfiles="${KERNEL_SITE}/utils/kbd/kbd-$version.tar.bz2"
build_style=configure
configure_args="--datadir=/lib/kbd --bindir=/sbin
--datarootdir=/usr/share --mandir=/usr/share/man"
configure_args="--prefix=/usr --datadir=/usr/share/kbd
--localedir=/usr/share/kbd/locale --mandir=/usr/share/man"
short_desc="Linux keyboard utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
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."
This package allows you to set up the Linux console, change the font,
resize text mode virtual consoles and remap the keyboard."
Add_dependency build flex
post_install()
{
vmkdir usr/share
mv ${DESTDIR}/lib/kbd/locale ${DESTDIR}/usr/share
post_install() {
# Remove olpc keymaps, they conflict with qwerty ones!
# and who in earth uses olpc anyway??
rm -rf ${DESTDIR}/lib/kbd/keymaps/i386/olpc
rm -rf ${DESTDIR}/usr/share/kbd/keymaps/i386/olpc
}