wok-current annotate thunderbird-langpack-fr/receipt @ rev 24906
updated minidlna (1.2.1 -> 1.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 14:37:52 2022 +0100 (2022-04-09) |
parents | 6135577f4d08 |
children | 41a539cfe5f8 |
rev | line source |
---|---|
domcox@6081 | 1 # SliTaz package receipt. |
domcox@6081 | 2 |
domcox@6081 | 3 PACKAGE="thunderbird-langpack-fr" |
domcox@15557 | 4 VERSION="17.0.11esr" |
al@19175 | 5 CATEGORY="localization" |
al@14989 | 6 SHORT_DESC="French Language Pack for thunderbird" |
domcox@6081 | 7 MAINTAINER="domcox@slitaz.org" |
al@14989 | 8 LICENSE="MPL" |
pascal@20679 | 9 WEB_SITE="https://www.mozillamessaging.com/" |
domcox@14215 | 10 LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-') |
pascal@14988 | 11 TARBALL="$PACKAGE-$VERSION.xpi" |
pascal@14988 | 12 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi" |
domcox@6081 | 13 |
al@14989 | 14 DEPENDS="thunderbird" |
al@14989 | 15 |
pascal@24304 | 16 # What is the latest version available today? |
pascal@24304 | 17 current_version() |
pascal@24304 | 18 { |
pascal@24304 | 19 wget -O - https://ftp.mozilla.org/pub/thunderbird/releases/ 2>/dev/null | \ |
pascal@24304 | 20 sed '/[0-9]*\.[0-9]*\.[0-9]*esr/!d;s|.*">||;s|/.*||' | sort -Vr | sed q |
pascal@24304 | 21 } |
pascal@24304 | 22 |
domcox@6081 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@6081 | 24 genpkg_rules() |
domcox@6081 | 25 { |
al@14989 | 26 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" |
domcox@14215 | 27 EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR" |
domcox@6081 | 28 mkdir -p $EXTDIR |
gokhlayeh@8576 | 29 cp -a $src/* $EXTDIR |
domcox@6081 | 30 } |