wok-6.x annotate thunderbird-langpack-zh_TW/receipt @ rev 23861
xvkbd: fix fetch,compile,and genpkg
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 19 01:26:32 2020 -0400 (2020-06-19) |
parents | 7042a09beaeb |
children | 922f061231c2 |
rev | line source |
---|---|
domcox@14215 | 1 # SliTaz package receipt. |
domcox@14215 | 2 |
domcox@14215 | 3 PACKAGE="thunderbird-langpack-zh_TW" |
domcox@15568 | 4 VERSION="17.0.11esr" |
al@19175 | 5 CATEGORY="localization" |
al@14989 | 6 SHORT_DESC="Traditional Chinese Language Pack for thunderbird" |
domcox@14215 | 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@14215 | 13 |
al@14989 | 14 DEPENDS="thunderbird" |
al@14989 | 15 |
domcox@14215 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@14215 | 17 genpkg_rules() |
domcox@14215 | 18 { |
al@14989 | 19 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" |
domcox@14215 | 20 EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR" |
domcox@14215 | 21 mkdir -p $EXTDIR |
domcox@14215 | 22 cp -a $src/* $EXTDIR |
domcox@14215 | 23 } |