wok-6.x annotate locale-pt/receipt @ rev 21744
updated qpdfview (0.4.15 -> 0.4.16)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 14 15:37:07 2019 +0100 (2019-06-14) |
parents | 7042a09beaeb |
children | a4853170daf3 |
rev | line source |
---|---|
pankso@3035 | 1 # SliTaz package receipt |
pankso@3035 | 2 |
pankso@3035 | 3 PACKAGE="locale-pt" |
al@18168 | 4 VERSION="5.0" |
al@19175 | 5 CATEGORY="localization" |
al@18168 | 6 SHORT_DESC="Portuguese locale pack" |
pankso@3035 | 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@3035 | 13 DEPENDS="glibc-base" |
pankso@3035 | 14 |
pankso@3087 | 15 LOCALE="pt" |
al@16591 | 16 LOCALE_DEPENDS="" |
al@14908 | 17 LOCALEDEF="pt_PT pt_PT@euro" |
al@18168 | 18 KBD="pt-latin1" |
al@18168 | 19 KB_FLAGS="PT:pt" |
al@18168 | 20 GCONV="ISO8859-1 ISO8859-15" |
pankso@3035 | 21 |
pankso@3035 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3035 | 23 genpkg_rules() |
pankso@3091 | 24 { |
slaxemulator@9701 | 25 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 26 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 27 get_locale |
pankso@3035 | 28 } |
pankso@3035 | 29 |
pankso@3035 | 30 # Back to C if it's the last used locale. |
pankso@3035 | 31 post_remove() |
pankso@3035 | 32 { |
pascal@21140 | 33 grep -q =$LOCALE /etc/locale.conf && |
al@14908 | 34 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@3035 | 35 } |