wok-6.x annotate kbd-base/receipt @ rev 23585

updated python-xdg (0.19 -> 0.26)
author Hans-G?nter Theisgen
date Tue Apr 07 14:15:45 2020 +0100 (2020-04-07)
parents b0cfa2140c91
children da39e47234a2
rev   line source
pankso@708 1 # SliTaz package receipt.
pankso@708 2
pankso@708 3 PACKAGE="kbd-base"
Hans-G?nter@22981 4 VERSION="2.2.0"
pankso@708 5 CATEGORY="base-system"
Hans-G?nter@21089 6 SHORT_DESC="Keyboard mapping definitions, loadkeys and setfont utilities."
pankso@708 7 MAINTAINER="pankso@slitaz.org"
pascal@14770 8 LICENSE="GPL2"
pankso@12882 9 WEB_SITE="http://kbd-project.org/"
pankso@12882 10
al@14904 11 WANTED="kbd"
Hans-G?nter@22981 12
Hans-G?nter@21089 13 HOST_ARCH="i486 arm"
al@14904 14
pankso@12882 15 # Make sure it will run on host or no keyboard support...
pankso@12882 16 testsuite()
pankso@12882 17 {
pankso@12882 18 readelf -h $install/usr/bin/loadkeys
al@17920 19 readelf -h $install/usr/bin/setfont
pankso@12882 20 }
pankso@708 21
pankso@708 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@708 23 genpkg_rules()
pankso@708 24 {
pankso@12882 25 mkdir -p $fs/bin
Hans-G?nter@22981 26 cp -a $install/usr/bin/loadkeys $fs/bin
Hans-G?nter@22981 27 cp -a $install/usr/bin/setfont $fs/bin
al@14904 28
Hans-G?nter@22981 29 # Directories
Hans-G?nter@22981 30 for dir in dvorak azerty qwerty qwertz
Hans-G?nter@22981 31 do
pankso@12882 32 mkdir -p $fs/usr/share/kbd/keymaps/i386/$dir
Hans-G?nter@22981 33 done
al@14904 34
pankso@708 35 # i386 keymaps only.
Hans-G?nter@22981 36 for keymap in $(cat $stuff/keymaps-path.list)
Hans-G?nter@22981 37 do
pankso@12882 38 cp -a $install/usr/share/kbd/keymaps/i386/$keymap \
pankso@708 39 $fs/usr/share/kbd/keymaps/i386/$keymap
Hans-G?nter@22981 40 done
al@14904 41
pankso@708 42 # Include files
pankso@12882 43 cp -a $install/usr/share/kbd/keymaps/include \
Hans-G?nter@22981 44 $fs/usr/share/kbd/keymaps
pankso@12882 45 cp -a $install/usr/share/kbd/keymaps/i386/include \
Hans-G?nter@22981 46 $fs/usr/share/kbd/keymaps/i386/include
al@14904 47
pascal@13277 48 # X11 keyboard aliases
Hans-G?nter@22981 49 while read X keymap
Hans-G?nter@22981 50 do
pascal@13277 51 ln -s $keymap.map.gz $fs/usr/share/kbd/keymaps/i386/$X.map.gz
Hans-G?nter@22981 52 done <<EOT
pascal@13277 53 qwertz/hr croat
pascal@13277 54 EOT
pankso@708 55 }