wok annotate locale-id/receipt @ rev 24891
lynx: use ncursesw (tanks ceel)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 07 07:20:18 2022 +0000 (2022-04-07) |
parents | a52ffca61a1d |
children |
rev | line source |
---|---|
pankso@950 | 1 # SliTaz package receipt |
pankso@950 | 2 |
pankso@950 | 3 PACKAGE="locale-id" |
al@18168 | 4 VERSION="5.0" |
al@19175 | 5 CATEGORY="localization" |
al@18168 | 6 SHORT_DESC="Indonesian locale pack" |
pankso@950 | 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" |
pankso@950 | 13 DEPENDS="glibc-base" |
pankso@950 | 14 |
pankso@950 | 15 LOCALE="id" |
al@16591 | 16 LOCALE_DEPENDS="" |
al@18168 | 17 KBD="" |
al@16591 | 18 KB_FLAGS="" |
al@18168 | 19 GCONV="ISO8859-1 ISO8859-15" |
pankso@950 | 20 |
pankso@950 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@950 | 22 genpkg_rules() |
al@14908 | 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@950 | 27 } |
pankso@950 | 28 |
pankso@950 | 29 # Back to C if it's the last used locale. |
pankso@950 | 30 post_remove() |
pankso@950 | 31 { |
pascal@22367 | 32 grep -qs =$LOCALE /etc/locale.conf && |
al@14908 | 33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@950 | 34 } |