wok view locale-tr/receipt @ rev 21709
ccid: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 08 10:39:23 2019 +0200 (2019-06-08) |
parents | 7042a09beaeb |
children | a4853170daf3 |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-tr"
4 VERSION="5.0"
5 CATEGORY="localization"
6 SHORT_DESC="Turkish locale pack"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 HOST_ARCH="i486 arm"
12 WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
13 DEPENDS="glibc-base"
15 LOCALE="tr"
16 LOCALE_DEPENDS=""
17 KBD="trq tr_q-latin5"
18 KB_FLAGS="TR:tr"
19 GCONV="ISO8859-9"
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 . $WOK/slitaz-i18n/stuff/locale-pack.functions
25 . $WOK/slitaz-i18n/stuff/locale-pack.conf
26 get_locale
27 }
29 # Back to C if it's the last used locale.
30 post_remove()
31 {
32 grep -q =$LOCALE /etc/locale.conf &&
33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
34 }