void-packages/srcpkgs/thunderbird-i18n/template
2020-06-06 15:27:33 +02:00

153 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=68.9.0
revision=1
build_style=meta
short_desc="Thunderbird language packs"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.thunderbird.net/"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ar "Arabic"'
'ast "Asturian"'
'be "Belarusian"'
'bg "Bulgarian"'
'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)"'
'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"'
'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="27700ccbae6d7c5ca121f5e51f6eb90c5aeb22f598f94461687fd6bdbe1109ca
29451262471180ce063634739abdd2665ebf0358d9d5ccbddd03cf9742f7f98b
2bf9909e18717df0c09b7265b254babe45ba3cd4583f9b313085781d86ee1f19
700d87d8a2d5aed601b75a846a77194b5581f5cd61c734b1b3c3525aad05b789
176ef493916b240462940007fea56b0507b2434a53006e5acae2dcce13dde9f9
9c67ab56b8815fd089136d2349c2ffcd95dd8c74a606a7be0a8666afd51bdc23
936bf7713e02c3ad301f062256b3d646b9c4b055501273dbc7bcd66172f3479b
29145303e64d4c101115ae1dc3ce3e6ead107b9e9a37b5df6d680a45dfe841dc
b7af892656650d84640720eb748153c757c66ecb974a97b15610587e66c6e0d3
a83775d002850a99d47698b9457ea2faad111b4dc3500817adbbfe8ef5857ffa
b0643e890c89db1422e9ebaa331b26c7d87eb822e8060fcc9627123d4f02e86e
f0d5b08c5706974552cf55cc92262222513f409036739eb77fa8b2ed0d0b4e68
b82c08415c9e394d5793af99d60b7792a30ba51769e3b939377f36b91d8d7d3d
1a7ecb847dd418b880347aceead59b5f47654fc991f6abc20dfcb941ef6efa7f
37281cff7baa7d497900e8ecc6329a2a8e58540155c98153a618dfab0f726e79
5fb111a704d6a2032d71ab095f749797f13658ad818f5c9e68bb836ccc5ed071
348fda0bca35459e9875b3100445ffaf91d32911ef5c23462696fb9981684267
6340e919a9a59addf334087193f92a4376f12ceaa2d9f0759ebc8dcfd2901815
b5b2d043b41fa4350393a6237044f3e81edaf48f3634b19b7acde90587c52b98
d3dab0bdc8a58c768828ebfc6785b94a43fdbb99ce0dc2f47e88448d6526c557
28efe84ef26d50378c66f5446e6886714402446cb14fb5cff95edec1e02c83da
7f303acfc7302bd0349fc109da2b57dc367c263b52bd922ed16a61bbaeced466
42df9712fb85590fac4c6352749f4f9c0c63778792b04e12a482a920e6092efc
f64c08f8c32c2dc6c8ec828d02340b62d1a5b8562b61931ed0d6c196bcfa8168
9fdfe16fb112cb474d5015444333b9c6aa8453cae09c1c1b971b89e39d9c2d90
13a25a7732e2de93f1fd3b1615b9472e1f279c412efb75d4eb4bc488961d065d
3acc691110e1311aeb7644d628231e3392381b8675d2e8135ef35f1bba31f2c0
46b06020d4de61c7525f2420958b053dd937e7ea534c1e9fe04e5772acf7493c
fc742e6d2548df141648e11f8c93f1a139253cf55488b36f8adfcade2328a9db
bbad3d2c6b76cdf3700d79593e45efd8a5de6577f4278cf0a4c9b189636e2108
0984b1100fc12637836f00e293911dae6db3cfc6d2109a5ac9b90d0f1421d9d3
2fb56d0f60b52ffebee5e27e1039512f749086d0324429d9b8147f7c885748c2
df7af63f5833c624ceda447bce546655a6f8d95605833a35840e2b84e4346d68
131ec860a20971f97005e66f5bdbbdd2440fd29b1ed1b556e70ffd55efd17dd1
2cc004b2c18898d559c983269f84efd48bce5f5403b142121eeb3c11cd42e9ff
a92567e64a631a1263a0b3e07e2c76f2402b38113a3714b70ea665058e39d3ae
521855bb42c3bcb464e9723d812cd44b28b70c7eeaa91b4ac27ca59bf7d19a60
fe4729fbe49e9b629eacdb6680520dafe969d87a3eaccf08377117b5f8d54038
de2c28dba418a5bdfa8bef22306c11aeca98ff560d6685eebbb759b7351dce6b
a0a75ef17432549b7ac86b86dffb7eeea7ccebf4292c191e1928353069333aac
316bdb5e905292246c6389cbeb71c624ff17959ac00268b9167163f5063e3f4f
d22ef926005e969b2e11750538d6b10d8e569418790bdebf4e55e7250826af69
b7b3e8dcafcf3f3e94545a7c4d4bfe4120e155dcee6a7d4ebd3dc1a3f6f3d6cf
892d5fbc2c17e1acd2b5fded60cdaca45e3ca5f2d0e5779dd4efcfd8105e7238
f85e36771d8a41bb9128f8a0b6a268d6f124782289760a17ffd1210263a741aa
06448f9a1e1f2517eea3105c04634c7ff62719384191a86fc8aa1da6ef63372f
7a735063fa15bc9c0f75c47ddb4b33cd49d5de72da60773f14451695397b51a1
55bfd7b8151e6bbab78d236fdc61cf31f2bf742b6fc207013fff45e6eea73fa1
83ee8e0802b2f129e82abb6a6d7fbdd4fbc9cedc0a75cd5fe9795a031ba20d81
2cfb33f4fe2c7e534f503c294f6f3477966f325011362a3e46b5515d61d7f12d
569b4923a66c84e113ded36071d2ad81362d265b658b8af5ce00f81d0dd9cd85
940aca80b7f4eb04604207b3b0af301835776947551c32f838ed2946e9e88f5d
a7727455a84e84efc3fbcb33510ce9550148602f3f71cf8fccf5cebab19baa0b
6bc3d399224ee52417fd2c54eda69f99e24e76bbfa5edbcded5297d10c04167f
adca8809af4859a795de4a4a76171b4224104e6c766669697ec9496948f7c261"