wok-current view locale-zh_TW/receipt @ rev 22367
fix locale-* post_remove
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 22 12:30:25 2019 +0100 (2019-11-22) |
parents | a52ffca61a1d |
children |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-zh_TW"
4 VERSION="5.0"
5 CATEGORY="localization"
6 SHORT_DESC="Chinese Traditional locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 HOST_ARCH="i486 arm"
12 WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata"
13 DEPENDS="glibc-base pcf-uming"
15 LOCALE="zh_TW"
16 LOCALE_DEPENDS="zh_CN" # for zh_TW
17 KBD=""
18 KB_FLAGS="TW:tw"
19 GCONV="BIG5 EUC-TW libCNS"
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 . $WOK/slitaz-i18n/stuff/locale-pack.functions
25 . $WOK/slitaz-i18n/stuff/locale-pack.conf
26 get_locale
27 }
29 # Back to C if it's the last used locale.
30 post_remove()
31 {
32 grep -qs =$LOCALE /etc/locale.conf &&
33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
34 }