# kbd, ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/

name=kbd
version=1.06
source=($name-$version.tar.gz)

build() { 
    cd $name-$version
    ./configure --datadir=/usr/share
    make
    mkdir -p $PKG/bin $PKG/usr/bin
    make DESTDIR=$PKG LOADKEYS_BINDIR=$PKG/bin MAN_DIR=/usr/man install
    (cd $PKG/usr/man; chmod -R 0644 man?)
    strip $PKG/bin/* $PKG/usr/bin/*
    gzip -9 $PKG/usr/man/man?/*
}
