wok view thunderbird-langpack-it/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
parents 459da5c7c8cf
children 6135577f4d08
line source
1 # SliTaz package receipt.
3 PACKAGE="thunderbird-langpack-it"
4 VERSION="17.0.11esr"
5 CATEGORY="localization"
6 SHORT_DESC="Italian Language Pack for thunderbird"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="MPL"
9 WEB_SITE="http://www.mozillamessaging.com/"
10 LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-')
11 TARBALL="$PACKAGE-$VERSION.xpi"
12 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi"
14 DEPENDS="thunderbird"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org"
20 EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR"
21 mkdir -p $EXTDIR
22 cp -a $src/* $EXTDIR
23 }