wok view locale-ru/receipt @ rev 16404
Up: slitaz-tools, slitaz-tools-boxes (5.7.2) bugfix
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 16 15:34:54 2014 +0300 (2014-04-16) |
parents | b042fcb86c79 |
children | fbd26a7703dd |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-ru"
4 VERSION="4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Russian locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
11 WANTED="glibc slitaz-i18n xorg-libX11"
12 DEPENDS="glibc-base"
14 LOCALE="ru"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 . $WOK/slitaz-i18n/stuff/locale-pack.functions
20 . $WOK/slitaz-i18n/stuff/locale-pack.conf
21 get_locale
23 mkdir -p $fs/usr/share/lxpanel/images/xkb-flags
24 for i in us.png ru.png ua.png LICENSE.txt; do
25 install -m644 $stuff/$i $fs/usr/share/lxpanel/images/xkb-flags/$i
26 done
27 }
29 # Back to C if it's the last used locale.
30 post_remove()
31 {
32 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
33 }