wok-current annotate locale-ar/receipt @ rev 16570
Up: childsplay (2.6.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 18:33:57 2014 +0200 (2014-05-02) |
parents | |
children | c667db027c32 |
rev | line source |
---|---|
al@16551 | 1 # SliTaz package receipt |
al@16551 | 2 |
al@16551 | 3 PACKAGE="locale-ar" |
al@16551 | 4 VERSION="4.1" |
al@16551 | 5 CATEGORY="system-tools" |
al@16551 | 6 SHORT_DESC="Arabic locale pack" |
al@16551 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@16551 | 8 LICENSE="GPL3" |
al@16551 | 9 WEB_SITE="http://www.slitaz.org/" |
al@16551 | 10 |
al@16551 | 11 WANTED="glibc slitaz-i18n xorg-libX11" |
al@16551 | 12 DEPENDS="glibc-base" |
al@16551 | 13 |
al@16551 | 14 LOCALE="ar" |
al@16551 | 15 ADD_FLAGS="US" |
al@16551 | 16 LXPANEL_FLAGS="us" |
al@16551 | 17 |
al@16551 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@16551 | 19 genpkg_rules() |
al@16551 | 20 { |
al@16551 | 21 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
al@16551 | 22 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@16551 | 23 get_locale |
al@16551 | 24 |
al@16551 | 25 # use Saudi Arabia flag for Arabic keyboard layout |
al@16551 | 26 ln -s /usr/share/icons/hicolor/16x16/intl/SA.png \ |
al@16551 | 27 $fs/usr/share/lxpanel/images/xkb-flags/ara.png |
al@16551 | 28 } |
al@16551 | 29 |
al@16551 | 30 # Back to C if it's the last used locale. |
al@16551 | 31 post_remove() |
al@16551 | 32 { |
al@16551 | 33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
al@16551 | 34 } |