wok-current annotate thunderbird-langpack-sl/receipt @ rev 20097
Up tazpanel (616)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 07 13:20:59 2017 +0200 (2017-10-07) |
parents | 25299d88e3d9 |
children | 6135577f4d08 |
rev | line source |
---|---|
al@14989 | 1 # SliTaz package receipt. |
al@14989 | 2 |
al@14989 | 3 PACKAGE="thunderbird-langpack-sl" |
domcox@15565 | 4 VERSION="17.0.11esr" |
al@19175 | 5 CATEGORY="localization" |
al@14989 | 6 SHORT_DESC="Slovenian Language Pack for thunderbird" |
al@14989 | 7 MAINTAINER="domcox@slitaz.org" |
al@14989 | 8 LICENSE="MPL" |
al@14989 | 9 WEB_SITE="http://www.mozillamessaging.com/" |
al@14989 | 10 LANG=$(echo $PACKAGE | cut -d'-' -f3 | tr '_' '-') |
al@14989 | 11 TARBALL="$PACKAGE-$VERSION.xpi" |
al@14989 | 12 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/$VERSION/linux-i686/xpi/$LANG.xpi" |
al@14989 | 13 |
al@14989 | 14 DEPENDS="thunderbird" |
al@14989 | 15 |
al@14989 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14989 | 17 genpkg_rules() |
al@14989 | 18 { |
al@14989 | 19 LANG_DIR="langpack-$LANG@thunderbird.mozilla.org" |
al@14989 | 20 EXTDIR="$fs/usr/lib/thunderbird-$VERSION/extensions/$LANG_DIR" |
al@14989 | 21 mkdir -p $EXTDIR |
al@14989 | 22 cp -a $src/* $EXTDIR |
al@14989 | 23 } |