SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "firefox-langpack-pt-BR"

# SliTaz package receipt.

PACKAGE="firefox-langpack-pt-BR"
VERSION="10.0.2"
CATEGORY="network"
SHORT_DESC="pt-BR language pack for firefox."
MAINTAINER="claudinei@slitaz.org"
DEPENDS="firefox"
LANG="${PACKAGE:17}"
LANG_DIR="langpack-$LANG@firefox.mozilla.org"
TARBALL="$PACKAGE-$VERSION.zip"
WEB_SITE="http://www.mozilla.org"
WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$VERSION/linux-i686/xpi/pt-BR.xpi"
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    EXTDIR="$fs/usr/lib/firefox/extensions/$LANG_DIR"
    mkdir -p $EXTDIR
    cp -a $src/* $EXTDIR
}

# Pre and Post install commands for tazpkg
post_install()
{
    echo ""
    echo "Use the code below to change locale of firefox in shell:"
    echo "sed -i '/pref/s/en-US/$LANG/' /etc/firefox/pref/firefox-l10n.js"
    echo ""
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)