wok view locale-ar/receipt @ rev 16561

Up: slitaz-configs (automount fix) and add util-linux-eject to polkit deps
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 01 10:33:40 2014 +0200 (2014-05-01)
parents
children c667db027c32
line source
1 # SliTaz package receipt
3 PACKAGE="locale-ar"
4 VERSION="4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Arabic locale pack"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
11 WANTED="glibc slitaz-i18n xorg-libX11"
12 DEPENDS="glibc-base"
14 LOCALE="ar"
15 ADD_FLAGS="US"
16 LXPANEL_FLAGS="us"
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 # use Saudi Arabia flag for Arabic keyboard layout
26 ln -s /usr/share/icons/hicolor/16x16/intl/SA.png \
27 $fs/usr/share/lxpanel/images/xkb-flags/ara.png
28 }
30 # Back to C if it's the last used locale.
31 post_remove()
32 {
33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
34 }