SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "thunderbird-langpack-en_US"

# SliTaz package receipt.

PACKAGE="thunderbird-langpack-en_US"
VERSION="17.0.11esr"
CATEGORY="localization"
SHORT_DESC="American English Language Pack for thunderbird"
MAINTAINER="domcox@slitaz.org"
LICENSE="MPL"
WEB_SITE="https://www.mozillamessaging.com/"
LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
TARBALL="$PACKAGE-$VERSION.xpi"
WGET_URL="https://ftp.mozilla.org/pub/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"

DEPENDS="thunderbird"

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
    EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
    mkdir -p $EXTDIR
    cp -a $src/* $EXTDIR
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)