wok-6.x view locale-sv/receipt @ rev 16551

ttf-roboto, ttf-roboto-base: fix source paths; slitaz-i18n: now get info from tzdata and add country flags; add locale-ar; locale-**: remove stuff, small edits.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 29 21:37:23 2014 +0000 (2014-04-29)
parents f398031ad845
children c667db027c32
line source
1 # SliTaz package receipt
3 PACKAGE="locale-sv"
4 VERSION="4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Swedish 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="sv"
15 ADD_FLAGS=""
16 LXPANEL_FLAGS=""
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 . $WOK/slitaz-i18n/stuff/locale-pack.functions
22 . $WOK/slitaz-i18n/stuff/locale-pack.conf
23 get_locale
25 # "sv_FI" locale definition based on "fi_FI" locale definition file
26 cp -a $WOK/glibc/install/usr/share/i18n/locales/fi_FI $fs/usr/share/i18n/locales
27 # "sv_FI@euro" locale definition based on "fi_FI" and "fi_FI@euro" locale definition files
28 cp -a $WOK/glibc/install/usr/share/i18n/locales/fi_FI@euro $fs/usr/share/i18n/locales
29 }
31 # Back to C if it's the last used locale.
32 post_remove()
33 {
34 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
35 }