void-packages/srcpkgs/thunderbird-i18n/template
2016-12-01 10:58:38 +01:00

160 lines
5.9 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=45.5.1
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="
b4fe20d0ca69cb19d58b136b3cd20a8e14b9bffb4ab21817652ba906d75bd4e4
58870dfe8133718588babe6fbc0d994d015639472124cfcfd28fa1e921394e3d
ff471d1ffea64bab40786723c18ceb3fc0e496657b240fb596780907b24d1170
d1a4bf184683cf031ee5b4582df324a2a79091740892429e2b26f8805d627e01
5bc7ed319271a9e30c2d4926dc5bf8e5770de087f3118819ae1cc1f539b68697
cba824a751c1fdfdf9f57405fab2f3920580d806a494545ad10fb3c64e0af7b9
65027455332178cc1e08d69e00791ff9511209f2ff4fa48d7753de00c94dd8cd
fbe270b30213ee3469c866c9c360ea518f7ad01ed68a195e99d0bbf470f9e538
8a0a58fcfcaa7cc919d350c9735199566a639ec1d383914934e6fe21f4e4eb82
ef1b199a05fdfafbbeaf5fbf057fd07ac13a048a33054544dec726f345ea1a0e
7b371f854bb8b7737aa4625f5d559c7fffb06edcf1d138e457d67e8928664103
aa35a8b43ee6e5517705ceddf02479af3dfe60ad544f4cf2d79c6626dc174ac8
e7363b527e78e84d027af6a35055c260932ddad2dda4f3a9f8878990d95f6b4e
4bce48c5a33e541254416590b6bf41151cf0254bf89aaabf5f64b890b2cad1e0
1c5ab20dd75263b734cd54e6fbfd7dbbee6ee69a88bb89b2e03fa650c86bbd9b
7584a2563e5747813068a9f02bed62c63b37eb1ba91f522a807bdf0d781ddffc
2a4497a52454deb83578efe8d532c5b089c3a35eaff79bf67be672a01ec004ff
82ef7cd2827bfb1f928785a212c59214b8b06fb7b559b38aa445d67b367236a2
8051087402329512cc2fcb2380a9b85da0d71d898bf0b6c88bc6ed129ffb22cf
2e2b32ac0f4413fc26c6462031d117fe99c8f8738eef0fae27de811349ca9f8f
8c8f63e68e05ededbd129b992e455af388601a016ab916729e683123aca1cb37
1573d35cba1b687210358f8739ddb59bdfd8a14adda6ade32a84d1204e6a40e9
d5f55b408d894d0f439d2e8c437f4ad13750a096b6d53280eaed629709dfb54b
ef289b48baa8621ea553a17e3357b67e8618f5ce8995f44d82396a5e1aeacb27
60d4adac11929fdb31ee19ae93fc85fff3c523755fe0c1144460ec4bf56b7992
8ff8f876565f08da43d3d1e8c744f2e0c82976499d7d5389326990f1c011b56e
17184e2537122360540431ac7b5ef5a25ce6049b025c865c5fb28aa617a0e3b8
492ffdf47b0a7260be7c7dd4f95b9732dc4c88971fdb5a478b5a9fe158f3eeee
ea016fc595f0643476ef78d5f2e99c1fb5bd0b944cb8460447614753b6c878bb
527004f57d81953de82688f541983c8eb506757ccccad859d9b0e3cf0f448bee
056c1e40533cc751b59e1f004cf890cbb8beecce3e9c583691e85f87939903e0
818e55e875f321caa6e72babccbf24772aee3a8d378904c113769939e4f7d042
f72ec16adeff2158ece5d6991bf95a575acc162db26769fe2bee424d83a0ae97
4c812beefe3e10100b8561a35f95421a148dbb6ad87ecb9e8ed9863ecc331b5e
b7b408f8e2bf6b39c44f30a6678770662042790d937e1adc8d79bf03e55546be
04ca7ad8eddc69be7ce84a0ce0f0bbb3ce0aa09c21fe22fe46fb3cdff1aedceb
1f220485f5cd55cc508103b2bd99115a7c51e206c31bb4bccee3e3c37e07bab8
abc7fd5adef6b3596ef8d3ba1c0b50c9b2087ef9024f72ce8bebe7dc8d1c1251
ab85ae0d9ac9bcee5152b7d7661493e8c9169461520f4315fe6bdfc70898e2b6
ca3d0f6eef30943429d9d5f18c95dc6b267a66c11885675a3328b062edbb01d0
04ef9ebd182ebca5772616f54fa75ae4f950e87daa09f123813b48703b50e255
51f54d206829afdbdaa99e0196e89793fbeac13b375ddb2b4e8b5ff33df8c3b4
244087eaef3497c4cf40a3fea226b4a2b137a75f137bd7c334011a580d1cbd09
ad17ee41827ccf27554b7b02f9483d5e833d23e97a17a61889f54605e3b678db
33facfa8e7588dac496e88536af6addc5f3d9106583b453a26c1044e22e3e79a
437c0fc08ea15a0728896032f367eaf7ea2651ac98d48bf61a4943dde9617c47
1ce0035170ced9c2a5501d9d12eaf967df25c114af109e98e1e878212a591f2d
e32209582f28b2f66bb9176a9afc14fbd3775841613e2eb2aa27a044990a41cc
dd7306851d947439c769dcc99bd463049c7973f1bc17b9fc5c0f767de5c45376
be9910184380a18add89eba2da8836eb25bcb97201e1c1f0cd01f55d0501e205
a6da49fd818f406ea5c3b88695d3f463e74052120d49a81ce2561dc5fbd1bd6f
3670d866e70a37f09605ef233bef1ed5fe5e3a2b5d019a08aa131db8701122dd
b1fbfacfecc5d7653fd2b4e24763859db082f2861590190e52c849a965dc588d
1e1f5bc26508a4bd02c626dd64ee32c69fef40ac2a1ab5fcdd16dbc3a1081b69
a5d7606bd3325c8f6eea889e12731335f4f07deed2c45d324b2a472db6a87194
5a84af2999e86b74f8d36bd66d887f0a22fa1c1e029a092d6c6dd19bc137344e
a7da398e31ca89144351b1107d1079e504ec244a44e305cd8a612a5d5afd4b8a
7c1c647d0bf62faf83fba80710a040f112e61d846af4f703d061ba8278fda063"