wok-6.x diff locale-ar/receipt @ rev 16582
Rename python-rpi-adafruit package
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 04 05:33:27 2014 +0200 (2014-05-04) |
parents | |
children | c667db027c32 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/locale-ar/receipt Sun May 04 05:33:27 2014 +0200 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt 1.5 + 1.6 +PACKAGE="locale-ar" 1.7 +VERSION="4.1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Arabic locale pack" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL3" 1.12 +WEB_SITE="http://www.slitaz.org/" 1.13 + 1.14 +WANTED="glibc slitaz-i18n xorg-libX11" 1.15 +DEPENDS="glibc-base" 1.16 + 1.17 +LOCALE="ar" 1.18 +ADD_FLAGS="US" 1.19 +LXPANEL_FLAGS="us" 1.20 + 1.21 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.22 +genpkg_rules() 1.23 +{ 1.24 + . $WOK/slitaz-i18n/stuff/locale-pack.functions 1.25 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.26 + get_locale 1.27 + 1.28 + # use Saudi Arabia flag for Arabic keyboard layout 1.29 + ln -s /usr/share/icons/hicolor/16x16/intl/SA.png \ 1.30 + $fs/usr/share/lxpanel/images/xkb-flags/ara.png 1.31 +} 1.32 + 1.33 +# Back to C if it's the last used locale. 1.34 +post_remove() 1.35 +{ 1.36 + echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf 1.37 +}