# Description: Key-table files, console fonts, and keyboard utilities # URL: http://www.kbd-project.org/ # Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com # Depends on: name=kbd version=2.3.0 release=1 source=(https://www.kernel.org/pub/linux/utils/$name/$name-$version.tar.xz http://www.linuxfromscratch.org/patches/lfs/development/kbd-$version-backspace-1.patch) build() { cd $name-$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 [ -d /tools/lib/pkgconfig ] && export PKG_CONFIG_PATH=/tools/lib/pkgconfig ./configure --prefix=/usr --disable-vlock make make DESTDIR=$PKG install mkdir -p $PKG/bin mv -v $PKG/usr/bin/{dumpkeys,kbd_mode,loadkeys,setfont} $PKG/bin }