# Description: Keytable files and keyboard utilities
# URL: ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
# Depends on:
name=kbd
-version=1.15
-release=3
-source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/$name-$version.tar.gz)
+version=2.0.4
+release=1
+source=(http://ftp.kernel.org/pub/linux/utils/$name/$name-$version.tar.xz)
build() {
cd $name-$version
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --mandir=/usr/man \
--datadir=/usr/share/kbd \
+ --disable-vlock \
--disable-nls \
--cache-file=config.cache
- make
+ make -j1
make DESTDIR=$PKG install
- ln -sf default8x9.psfu.gz $PKG/usr/share/kbd/consolefonts/default.gz
+ ln -sf default8x16.psfu.gz $PKG/usr/share/kbd/consolefonts/default.gz
rm -r $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}
- rm $PKG/usr/bin/{psfxtable,mapscrn,loadunimap} \
- $PKG/usr/bin/{psfaddtable,psfgettable,psfstriptable} \
- $PKG/usr/man/man1/{psfaddtable.1,psfgettable.1,psfstriptable.1,psfxtable.1} \
- $PKG/usr/man/man8/{loadunimap.8,resizecons.8,mapscrn.8}
- find $PKG/usr/share/kbd/ -name "README*" -exec rm {} \;
+ rm $PKG/usr/bin/{loadunimap,mapscrn,psf*table}
+ rm $PKG/usr/share/man/man8/{loadunimap,mapscrn}.8
+ rm $PKG/usr/share/man/man1/psf*table.1
+ find $PKG/usr/share/kbd/ -type f -name "README*" -delete
}