# Depends on:
name=kbd
-version=1.15.5
+version=2.0.2
release=1
-source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/$name-$version.tar.gz)
+source=(ftp://ftp.kernel.org/pub/linux/utils/$name/$name-$version.tar.xz)
build() {
cd $name-$version
+ # we don't want a dependency to 'check'
+ sed -i '/^SUBDIR/s/tests//' Makefile.am
+ sed -i '/\[check >= 0.9.4\]/s/^/#/' configure.ac
+ autoreconf --install
+
./configure --prefix=/usr \
--mandir=/usr/man \
--datadir=/usr/share/kbd \