mirror of
https://github.com/pygos/build.git
synced 2024-11-17 00:47:10 +01:00
28 lines
696 B
Text
Executable file
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"
|
|
}
|