wok annotate locale-sl/receipt @ rev 24082

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 09 18:20:09 2021 +0000 (2021-07-09)
parents a52ffca61a1d
children
rev   line source
pankso@2304 1 # SliTaz package receipt
pankso@2304 2
pankso@2304 3 PACKAGE="locale-sl"
al@18168 4 VERSION="5.0"
al@19175 5 CATEGORY="localization"
al@18168 6 SHORT_DESC="Slovenian locale pack"
pankso@2304 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@2304 13 DEPENDS="glibc-base"
pankso@2304 14
pankso@2304 15 LOCALE="sl"
al@16591 16 LOCALE_DEPENDS=""
al@18168 17 KBD="slovene"
al@18168 18 KB_FLAGS="SI:si"
al@16592 19 GCONV="ISO8859-2 IBM852 CP1250"
pankso@2304 20
pankso@2304 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2304 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@2304 27 }
pankso@2304 28
pankso@2304 29 # Back to C if it's the last used locale.
pankso@2304 30 post_remove()
pankso@2304 31 {
pascal@22367 32 grep -qs =$LOCALE /etc/locale.conf &&
al@14908 33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
pankso@2304 34 }