void-packages/srcpkgs/thunderbird-i18n/template
2015-08-09 19:08:42 +02:00

157 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=31.7.0
revision=1
homepage="http://www.mozilla.com/"
short_desc="Thunderbird language packs"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL-2.1"
noarch=yes
create_wrksrc=yes
do_extract() {
:
}
do_install() {
:
}
_languages=(
'ar "Arabic"'
'ast "Asturian"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'br "Breton"'
'ca "Catalan"'
'cs "Czech"'
'da "Danish"'
'de "German"'
'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"'
'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"'
'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"
noarch=yes
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/thunderbird/extensions langpack-${_lang}@thunderbird.mozilla.org.xpi
}
}
checksum="
fac353e1067852ccac7bc23a958c54fdebd2aad30ad9551a07deb23811046d79
4e39fb7792c7fe787bb9d9f3a03ac57da15e9b353a51f1602afcffc3e0e0ffa8
8be5b81c0a747d89ff9f586d726706718711a01ffd70ecbed9fe00352fb795dd
7ab3641502204c37108430f5be2f78a161b1aa5a63561c8edcf0186a7f509df6
51cf109e8416775e656a1431630f3f4a6b0bde3e44744449283d0666284698bf
97bbaea547340a56f528d8675b04a596369fb9b63245e20acd76d74211f7a668
49d3df068e9edcf17ed99754bd45c7d00c50f4bacd7a5484ab86018197258523
d491ebf429f56ad21632bc476f9364857ee838a330ff1b966cae2e8ec5a944e8
c95a6ce7d22eca56f365f05805393a1b52a5427af02a447f9dba1cd1559dd7c7
0debd56af6d8872d525e62ae8fd609620c3a66a425817dec83d701346fd766ba
9b3ca0a7df6b8bc91274b2b757dfb909beb04815cf51b377b22755114776b536
d8d4dc74889792dc9b434f11a8934d5363dafb07aada75068809f1d3ceba7d66
c4e5def480042a55d8532129f3bd5226004b98f5dd3991eeb429a35152f4391e
e0bf50d99447934d0f9865329469559308ab54c32d2d64321a9742b3aa4be063
162a5c3879bb4d826b8cfea0dd68cf13f29d417bac79cc2482dd78d76cc0a8f7
9f5846d2147eeb8a834a282abc80ef1cd58389faaf4a0dfedfc4e91cd28faaf5
bba78265515862435a7aa19345460c0bdd192be207550f6a9ac0cdb7de535ac8
bdf3d4bf05bc66951c9d861af635c791fd3513f578fe32a9ccc150aa81ba6304
5700997d79942d74db684fddb255ee1e5a1b10b0c7c0df875b917dbba91f9607
ed3f3e4bbba12218a0025747257cdaefceb4f37ce65fbf8e3ec1746cacf62d62
788127820d6404540b698794a9008990f77005056ec1f15da05785087729c178
f688f29b6e4032d6f6fd9b3e7ae20d2f94f7ae34e977bcb1ea1e9b4393ac9f4d
52ba67336de4d8d19ac1d29d22df362af9e8b43a2cb800a0303b51e0b6d4c4fb
39519209cf6c19208e8c677439b3cad194d9d14f7ff3814c189890d6285b7af7
7abab0668491b42dff80e8b656407b9489f8a133a58f0ca42f8c83a1973efd77
ec4d3c63698bc825fee4a2dedde66a7796fef0efee8df307d8f233f382ba784a
f22b7f8a56d6b92448d4b1cf471fdad56cef13e8668a472e833a8efc8400b53f
40c62742c10f08f1b93e68b026b48b849dcf323f99987720be19c0bc0f4fbb7f
1007cd1f3f72deecdbfbb3ec54837955f53235de4b39405158eec9dd74750246
6de47224c4342a1fc1c81d8ec0bab90cdacb4b4e54709e9590c2bd341fbfbae7
4e3f6637cccafab04d665bb66b2d808797384c3b322a4375efcb9a3be480fe7f
6c962ee2ce9051223897ace9fa6d7c60ffb7e95b103a52bad0f17803efcfeaf2
9dbde5ddc20a9512320490318f5f6278d5626357f3b17401482a439a4f6be654
51a38f39dfc18d945a0985a23d0b7770f8fe3cebf8a28f22fd92bb288345a9b0
784ba5505afef70f492a85651c632da974c01bf1c5a945ff132df40b077304d7
cfd312de7632a96facd36acdc00a04bc571101d655c5c8f70300d3f982b58366
e444889660a60b44a3e5e6fc94972e2b8a2b97e0fa8959b41bcacacfc8be931d
3ef71ff4f72e28f15ea76764be9179cefdbf92a2270e87dad557cbf6d6c44f36
298f9a4a205a77e471f96e38d12dbba00b6fb9ddf89b496e8b5eb106d1f33c97
e01d684612fd224536e9cb21f44ace5cab81bf8fd15e8e5265847df1b2407a59
0d2606836428595232daf0aedbafea4935e641658712fd99e34668e686c0d2e7
7de4b8e3ffcf3ac7ced5aeae0ca84d1e9c8603646e54473665505e1f1ac66925
38b372432b02c42703e3f425946cee6a42918d574f7bff7df5f9997ddb076f64
3441d57aeedf15c5a29800e8f544b8571d41e5ed5a381d8bb2087cda97074970
dcd56d713daa7b6fb03d64219797e159eab8bef2e7eb9bd7999c0b285a24d153
7e7fb8287b9255aa8988bf63677e0bed8ae30c0da5ac7d83ba1300ba2bca41d3
b9270889a4905233e450be25d61e4a1359a057bc6c021d5aba23a941cde56123
0ef471cf54c052214d5169189a72efc0e8d65801e482aeff413ffc7c822c1651
3529d8a55ea5458edf24059d55178b6c4935aa82b604bc1c46e4b4bffb88234b
e83e64f528b12b1550efb28ba4dea51e7912ab2af470c1382d78e01d9dc3a3ff
12c2001834af439d1a0f95ed3f416788672d41c5b02481d26e54f66e721c83a6
7a20d9842117105f4ac641d602977cf20d4149564593adba0f3415976fd7b52d
f582fac503f385ceb59761134ed24170ded9f65861106ff77219040b169e6a37
3b60993a3c85f61ef57b02334d3a71d864e9e6609ec29f398c1f60094cad43a3"