wok-6.x view locale-ru/receipt @ rev 16471
gstreamer-1.0: update i?86 bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 22 06:52:14 2014 +0000 (2014-04-22) |
parents | 48d3d669a814 |
children | c4533f65e171 |
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 # country flags used in the some dialogs
24 usih=usr/share/icons/hicolor
25 for size in 16x16 48x48; do
26 mkdir -p $fs/$usih/$size/intl
27 cp -a $stuff/$size/* $fs/$usih/$size/intl
28 done
30 # keyboard flags for default lxpanel keyboard applet
31 uslix=usr/share/lxpanel/images/xkb-flags
32 mkdir -p $fs/$uslix
33 for i in us ru ua; do
34 ln -s /$usih/16x16/intl/$(echo $i | tr a-z A-Z).png $fs/$uslix/$i.png
35 done
37 # above icons credits
38 fusl=$fs/usr/share/licenses
39 mkdir -p $fusl
40 cp -a $stuff/LICENSE.txt $fusl/gosquared.txt
41 }
43 # Back to C if it's the last used locale.
44 post_remove()
45 {
46 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
47 }