wok-6.x annotate locale-es/receipt @ rev 21146
updated git (2.17.1 -> 2.21.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 28 16:06:18 2019 +0100 (2019-03-28) |
parents | 7042a09beaeb |
children | a4853170daf3 |
rev | line source |
---|---|
pankso@529 | 1 # SliTaz package receipt |
pankso@529 | 2 |
pankso@529 | 3 PACKAGE="locale-es" |
al@18168 | 4 VERSION="5.0" |
al@19175 | 5 CATEGORY="localization" |
al@18168 | 6 SHORT_DESC="Spanish locale pack" |
pankso@529 | 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@529 | 13 DEPENDS="glibc-base" |
pankso@529 | 14 |
pankso@529 | 15 LOCALE="es" |
al@16591 | 16 LOCALE_DEPENDS="" |
al@18168 | 17 KBD="es" |
al@18168 | 18 KB_FLAGS="ES:es ES:latam" |
al@18168 | 19 GCONV="ISO8859-1 ISO8859-15" |
pankso@529 | 20 |
pankso@529 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@529 | 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@529 | 27 } |
pankso@529 | 28 |
pankso@529 | 29 # Back to C if it's the last used locale. |
pankso@529 | 30 post_remove() |
pankso@529 | 31 { |
pascal@21140 | 32 grep -q =$LOCALE /etc/locale.conf && |
al@14908 | 33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@529 | 34 } |