wok annotate 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 |
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 } |