1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00
build/pkg/kbd/build
David Oberhollenzer 2c7e4d8a75 Bump kbd version, split into sub packages
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-08-03 21:30:32 +02:00

28 lines
696 B
Text
Executable file

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"
}