void-packages/srcpkgs/thunderbird-i18n/template
2016-12-29 18:38:34 +01:00

160 lines
5.9 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=45.6.0
revision=1
build_style=meta
homepage="https://www.mozilla.org/thunderbird/"
short_desc="Thunderbird language packs"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ar "Arabic"'
'ast "Asturian"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'br "Breton"'
'ca "Catalan"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-GB "English (British)"'
'en-US "English (US)"'
'es-AR "Spanish (Argentina)"'
'es-ES "Spanish (Spain)"'
'et "Estonian"'
'eu "Basque"'
'fi "Finnish"'
'fr "French"'
'fy-NL "Frisian"'
'ga-IE "Irish"'
'gd "Gaelic (Scotland)"'
'gl "Galician"'
'he "Hebrew"'
'hr "Croatian"'
'hsb "Upper Sorbian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ko "Korean"'
'lt "Lithuanian"'
'nb-NO "Norwegian (Bokmål)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'pa-IN "Punjabi"'
'pl "Polish"'
'pt-BR "Portuguese (Brazilian)"'
'pt-PT "Portuguese (Portugal)"'
'rm "Romansh"'
'ro "Romanian"'
'ru "Russian"'
'si "Sinhala"'
'sk "Slovak"'
'sl "Slovenian"'
'sq "Albanian"'
'sr "Serbian"'
'sv-SE "Swedish"'
'ta-LK "Tamil (Sri Lanka)"'
'tr "Turkish"'
'uk "Ukrainian"'
'vi "Vietnamese"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
depends="thunderbird>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=thunderbird-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/thunderbird/releases/${version}/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="thunderbird>=${version}"
short_desc="Thunderbird $2 language pack"
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/thunderbird/extensions langpack-${_lang}@thunderbird.mozilla.org.xpi
}
}
checksum="
ee653d578b0e221729fb999c25bd4ef335d86c3b7b01d2fc3e18b5ea03a5c88b
091fd74da82296bea2e271c6a86207e9cf60eeeed29ce62142b236888b78140e
2e68a3c2f085a6302da84815ebf616b3ea1ad2b3c628c082c38b69c561bdac82
ab15edef31542aea547b16b7f199ad3d18a6bd4f050b5254e6eeb17030b32ddb
d3c996fdab0eca72e9a8aaefeb2240f75017685682539c43eb8fd66a84827950
bee46d85f31a767dc53858c880086c96558577316a9b3dd6868dbc943d57da05
0ccec986a9988720024ded63fa858a3169a763ae2148cad37750c9de6f18a2d2
1e8d36a17624c33fbabdc8c2f6bb5c988ee486c7b11adf0d8061df1b97ae41eb
27c40529dcbe9d4cdbc7039f08b10f56502ca422e404927da001e7d7dec80b42
bdd2d971fa5580aa94aa96b2857d157ffafa4dc6768587299717260dbf6c290f
55d4e9a79a282d6c510849a7baec19a47f773eb955919242d5233a2f4b8ad0bf
0bcdfb59d568458b80ef612bccb707d8056c8a9333a9cd92b75efc0b49817051
d60a50fd969c62aa6307a60a1bb4e71d1f4ea34e130ae3aeb7d0037f3d71e363
56ac604691c56d76120a3e1621989e5e28e8c4229e0d199b0411ed46c754dd00
ab6d518fea4762779c64fd8c1d1ee3dde2d4d59435f707ebc5f2800c1f354e60
29efb181384965dd92ff484e6f6c2abf3e10b75d338583c161e24608f935dd5e
bde7fdf7011be8b4266abf093dc55dac4dd572a4b2d726a3fa63106371e5c83a
82b7f29c3e48cad54de5160cf3b9910c2c4eaccdb3c4b3f875914830b1fe7cd0
6b4effa6407cf5da694195b13467ff0922bffb6fc62131430a157e8e15ab0de7
157d481bfbe29a953209bd8e3eee11a07b37ba3acf0784a7b36c9bf4b325525e
6c7a43d61589e22032cf93766fe86380ea547b2f918617b1da3832e8eda20c5d
6e6e422d868d474ae45ce7905ffd1d2ef3e951dda537d3b72a90c45128022d87
3726b69749729767abb6c3dfe5a06fe42c1f7a983f95d768a53056ae15ab0c3c
d2f7fc855902d635dccbd02e2406c90667edc9aa8d280a9554bbcd33266844cc
7444f5fcda4021ada5742a6c1d0e0f4b0a0cc27a66378788c292b59439786c0b
6693365c180ea9b57eeee9d4b24fe0248847710b2fd95f16d3b6e77ae111dbde
02636a3dd09acb63077bdc90460d0aed085162061d74b37d5fc57214c89c736a
35f8f6769dfe15e42df3fab123eda064522bb1ab0ed4c01936a12caba2ffc646
eb6005f69a350790a1d53666686c56ea388d2ee706e2403a6afa890e568ed861
dd4a98cef101d5b67fcca1d07cdfcdc608f89c2e38a8b704ee1052a71737acd8
123b2ca2d9e865f4e6b075047e898eff7bb1769dfba10a9e97325f30c8e1b90d
519ff2d20433b9cb1206643ada4ddc1bd49a1fe0dbd6c23087b20358cacaa07e
57281745f8e324f3661a928d48f1ce86a016ee530912304cf84954bf5325b85c
3eb93c8fc0a694c673c44aae10b7a30fce9858b9950a883875426511b420f181
3f3fff27e9ffd4da9c4145a8005b7a67dd8e30129e66aadda915304992f544fb
279e1e182a1944e574b50c8613ce15f598c2e5c72d60cadb701d8c1b88a26aab
ae32172f9d4fa281107b87d720c8fee970802659d6fa0f8e35bddbb349f5e091
ac21fbdc979031ecd190c66f61fe8266e428f81c97f7c97c38c648f06f13eb18
c079078f93e7e96989bf3815440dd0112145e7bac39e663e0938c93e5f5e04be
4dcb7c48fab9e3be2de888f9d0faa0f4e8dec5bae08b05bcb0a64167b61972c2
72650b3521b156900419f9ba28bd110e065902152076e6d679b1bc18d75dd887
b4290497600fb260c1f874ef2f5c9e7c0bca645990da9e760b130ef0e9764096
a064609cf3a2f523a1f96f21d6fec7ef11ae5a8edf9f7a62824a7425c8d0301c
a6b361ef0e24e600893dc36f7d464638b188f229d7810dfd41d57bb24b5dbb12
bb90fe916d3865f266c5de773957b13e025fe10669a8c89aeb8a7350e07b6934
783f6984bdcdc2ebd5305ede240d81ba8399dc92187f8f9cf9aee175141c23d5
4472231ef048b3cacab5ffadedc5232c9ed9cc9c4d47f013a06d0d040ee5cff3
9664b4d284e0f72aa212773452a44dabb8a5147e1d958a79087f3fbf00d13197
2e692c4fd9257d279b3acbbd297fc50650d2e852a003bd315c1c81c31e3fe203
737fb80efc0bbdc7c22b06e1be80f68938726fff412ad3b6bd79d489e9cd1443
1ed3dce235e1b2518f332955df15c16e9a3fc2665f424cf369a298e604c80c6a
eff77f87b5924a0d061ef4503579b6925c243d91fefcdb3ad59609572b30bcdb
f970faf50eead4524023bc348629a2602d62ceb8ad431552faaaa1fba68d0740
7f78f3fa771314ca7ba9d9832ae095f70061c2d6440fe648ee649a1c1801c7ee
e18b2bbe3b477e747047cc57edc3e790468cc193309111a0b77616691c3dc8ee
b4553148ce716468f1bb90de3a5844c34f9b71d33e6c2fe4ae9af3ef62e4eebe
533eb9e30f3c85fb3871270baae610cebc26ae46299cfdab62a5cd39e28c2722
94bbd7bf116ba8c00eef0681aab28986f0be2c648fdf5145733d66a8c63c57a0"