wok-6.x annotate thunderbird-langpack-sv_SE/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (20 months ago) |
parents | 922f061231c2 |
children |
rev | line source |
---|---|
al@14989 | 1 # SliTaz package receipt. |
al@14989 | 2 |
al@14989 | 3 PACKAGE="thunderbird-langpack-sv_SE" |
domcox@15566 | 4 VERSION="17.0.11esr" |
al@19175 | 5 CATEGORY="localization" |
al@14989 | 6 SHORT_DESC="Swedish Language Pack for thunderbird" |
al@14989 | 7 MAINTAINER="domcox@slitaz.org" |
al@14989 | 8 LICENSE="MPL" |
pascal@20679 | 9 WEB_SITE="https://www.mozillamessaging.com/" |
al@14989 | 10 LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-') |
al@14989 | 11 TARBALL="$PACKAGE-$VERSION.xpi" |
pascal@25441 | 12 WGET_URL="https://ftp.mozilla.org/pub/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi" |
al@14989 | 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 |
al@14989 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14989 | 24 genpkg_rules() |
al@14989 | 25 { |
al@14989 | 26 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" |
al@14989 | 27 EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR" |
al@14989 | 28 mkdir -p $EXTDIR |
al@14989 | 29 cp -a $src/* $EXTDIR |
al@14989 | 30 } |