1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-17 00:47:10 +01:00
build/pkg/kbd/build

29 lines
696 B
Text
Raw Normal View History

VERSION="2.2.0"
SRCDIR="kbd-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://www.kernel.org/pub/linux/utils/kbd"
SHA256SUM="21a1bc5f6fb3b18ce9fdd717e4533368060a3182a39c7155eaf7ec0f5f83e9f7"
DEPENDS="toolchain"
SUBPKG="consolefonts kbd kbd-unicode keymaps-amiga keymaps-atari keymaps-mac"
SUBPKG="$SUBPKG keymaps-misc keymaps-pc keymaps-sun libkbd libkbd-dev"
prepare() {
return
}
build() {
run_configure "$1" --enable-optional-progs --disable-tests \
--enable-libkeymap --disable-vlock
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
check_update_simple "$URL" "kbd" "tar.xz"
}