SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "firefox-langpack-id"

# SliTaz package receipt.

PACKAGE="firefox-langpack-id"
VERSION="17.0.11esr"
CATEGORY="localization"
SHORT_DESC="Indonesian Language Package for firefox"
MAINTAINER="lufeng369@slitaz.org"
LICENSE="MPL2"
WEB_SITE="https://www.mozilla.com"
LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
LANG_DIR="langpack-$LANG@firefox.mozilla.org"
TARBALL="$PACKAGE-$VERSION.zip"
WGET_URL="https://ftp.mozilla.org/pub/firefox/releases/$VERSION/linux-i686/xpi/$LANG.xpi"

DEPENDS="firefox"

# What is the latest version available today?
current_version()
{
    wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \
    sed '/firefox\/releases\/[0-9]/!d;s|.*firefox/releases/\([^/]*\)/.*|\1|' | sort -Vr | sed q
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    EXTDIR="$fs/usr/lib/firefox-$VERSION/extensions/$LANG_DIR"
    mkdir -p $EXTDIR
    cp -a $src/* $EXTDIR
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)