wok-6.x view kbd-base/receipt @ rev 25119

updated peazip (6.8.0 -> 8.4.0)
author Hans-G?nter Theisgen
date Sun Jun 26 09:56:47 2022 +0100 (2022-06-26)
parents 620819a54fad
children
line source
1 # SliTaz package receipt.
3 PACKAGE="kbd-base"
4 VERSION="2.4.0"
5 CATEGORY="base-system"
6 SHORT_DESC="Keyboard mapping definitions, loadkeys and setfont utilities."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://kbd-project.org/"
11 WANTED="kbd"
13 HOST_ARCH="i486 arm"
15 # Make sure it will run on host or no keyboard support...
16 testsuite()
17 {
18 readelf -h $install/usr/bin/loadkeys
19 readelf -h $install/usr/bin/setfont
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/bin
26 cp -a $install/usr/bin/loadkeys $fs/bin
27 cp -a $install/usr/bin/setfont $fs/bin
29 # Directories
30 for dir in dvorak azerty qwerty qwertz
31 do
32 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir
33 done
35 # i386 keymaps only.
36 for keymap in $(cat $stuff/keymaps-path.list)
37 do
38 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \
39 $fs/usr/share/kbd/keymaps/i386/$keymap
40 done
42 # Include files
43 cp -a $install/usr/share/kbd/keymaps/include \
44 $fs/usr/share/kbd/keymaps
45 cp -a $install/usr/share/kbd/keymaps/i386/include \
46 $fs/usr/share/kbd/keymaps/i386/include
48 # X11 keyboard aliases
49 while read X keymap
50 do
51 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
52 done <<EOT
53 qwertz/hr croat
54 EOT
55 }