wok annotate locale-de/receipt @ rev 23422
updated perltidy (20140711 -> 20200110)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 01 08:11:45 2020 +0100 (2020-04-01) |
parents | a52ffca61a1d |
children |
rev | line source |
---|---|
pankso@724 | 1 # SliTaz package receipt |
pankso@724 | 2 |
pankso@724 | 3 PACKAGE="locale-de" |
al@18168 | 4 VERSION="5.0" |
al@19175 | 5 CATEGORY="localization" |
al@18168 | 6 SHORT_DESC="German locale pack" |
pankso@724 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15604 | 8 LICENSE="GPL3" |
al@14908 | 9 WEB_SITE="http://www.slitaz.org/" |
al@17402 | 10 HOST_ARCH="i486 arm" |
al@14908 | 11 |
al@18168 | 12 WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd" |
pankso@724 | 13 DEPENDS="glibc-base" |
pankso@724 | 14 |
pankso@724 | 15 LOCALE="de" |
al@16591 | 16 LOCALE_DEPENDS="fr_BE" # for de_BE |
al@18168 | 17 KBD="de-latin1 de_CH-latin1 sg-latin1" |
al@18168 | 18 KB_FLAGS="DE:de AT:at CH:ch" |
al@18168 | 19 GCONV="ISO8859-1 ISO8859-15" |
pankso@724 | 20 |
pankso@724 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@724 | 22 genpkg_rules() |
pankso@3091 | 23 { |
slaxemulator@9701 | 24 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 25 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 26 get_locale |
pankso@724 | 27 } |
pankso@724 | 28 |
pankso@724 | 29 # Back to C if it's the last used locale. |
pankso@724 | 30 post_remove() |
pankso@724 | 31 { |
pascal@22367 | 32 grep -qs =$LOCALE /etc/locale.conf && |
al@14908 | 33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@724 | 34 } |