# SliTaz package receipt PACKAGE="locale-sv" VERSION="5.0" CATEGORY="localization" SHORT_DESC="Swedish locale pack" MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" WEB_SITE="http://www.slitaz.org/" HOST_ARCH="i486 arm" WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd" DEPENDS="glibc-base" LOCALE="sv" LOCALE_DEPENDS="fi_FI fi_FI@euro" # for sv_FI and sv_FI@euro KBD="se-lat6" KB_FLAGS="SE:se" GCONV="ISO8859-1 ISO8859-15" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { . $WOK/slitaz-i18n/stuff/locale-pack.functions . $WOK/slitaz-i18n/stuff/locale-pack.conf get_locale } # Back to C if it's the last used locale. post_remove() { grep -qs =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf }