description="The Kbd package contains key-table files, console fonts, and keyboard utilities" url="ftp://devel.altlinux.org/legion/kbd/" maintainer="Risto Kankkunen's" packager="tnut " contributors="Pierre B" makedepends=(autoconf check m4 perl) name=kbd version=2.4.0 release=2 PKGMK_LOCALES=() source=(https://www.kernel.org/pub/linux/utils/kbd/kbd-$version.tar.xz \ http://www.linuxfromscratch.org/patches/downloads/$name/$name-$version-backspace-1.patch) build() { cd kbd-$version patch -Np1 -i ../$name-$version-backspace-1.patch sed -i 's/\(RESIZECONS_PROGS=\)yes/\1no/g' configure sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in ./configure --prefix=/usr --disable-vlock make make check || true make DESTDIR=$PKG install mkdir -pv $PKG/usr/share/doc/$name-$version cp -R -v docs/doc/* \ $PKG/usr/share/doc/$name-$version }