void-packages/srcpkgs/thunderbird-i18n/template
2017-10-29 20:34:18 +01:00

160 lines
5.9 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=52.4.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="
5b17a53001f7605f9e12a9881573f93940dd5756bd54788546201c97fc323c3f
e3f5a29ee9258e49306cd1580d603b635a5ac7c8840c838504606143c141562a
1d5e536ebe848d9a9ac773c6e15ef895601c1754a9f0ee69a7ab229ec931dc32
18063549c65ddcfb1c438b5be60ebf27f2b6ed2b926e52ba2b9fd078510bb42d
cd6a5a1c7b9ee0f688815ed2d6ebffcb5300fd1ebca9f0bc0d26c0f8d8530d12
8ee2714cf3efc9477059047d70d3429601e2451e32d823ad48ecfacbad802edc
8b4929329075581266bc18189660c6200f6084153530d45ca6ce2865572a392b
d3898778cd4aceea175c46ddc386b47cbe134a1b89322cee285e5925042032d1
c95bcfee29f32aaf12dba7e835f35311eb71dc923c71dfc063b8150165e552dd
cf1efa5a056dbb9b98324b1b959a61467af15ea82ad586369b4b46856d89d990
6d8bc484a1edcdbff75d39dea9f33b85b92514058f505f2915810609796e8a1a
94bc57a6b7ca577fcfeac8a04e2cb20c30a54582b8f5c8906c449e20ac1641d4
c5201686e88cde81222817b006957bbee08df0745fdbfeeea067b558f9131872
45905f12c6053324c1ed880837fbb6b00afd631d83907d6274fc4aa53a4861a3
1b281ee6cf6898fe7aec71b1f8ec6a4bceffae6d1720dd64d678a41bdc5ba197
f6bb96a72a3a8271b9796d9516908de2b885028d7e3cf00913fa74415b7a9ce3
2d49b3b67e7b0c8f99871906e65d5e3a6cd684ad3dde05a730dfc8d328205005
eee8043f3300c1fbef18d87c783de89a11e69a75e7185e0fe0ce5a73a0feca0c
448a3d9d8f4babd98872e2f91c2837342e4c01fc6bbeb0bed3a4f4e14ea381b6
fde89077936d1ef35642d6b451926e885f69b9636b66314c4d1d182a9b753ee0
98c758ebd8c286bb93a1b9b75a5af1939944c520164a5b38f1f39936529fd7bb
1225accf01b15e7e3132ef51d9275ce573a3615360f16647c91bc078134f5002
22d847437c25ff7aa94b9f5ca1147277c87bccb5b38afa4f0ef7fa5124a59cdf
d184019e5989bd88b8bdb7a27788535b0a3a487921d85339ad0a1bb81cf46a40
a35d8e9441219196eb90a31d1f65f08493ded91fc1ebb1b712c417827451ff13
8d46ec38430a1939cde04141c9f5bcfe22b81a154bebb89dc112ff199042203f
119c5055305b8f16b02a822b70044ff2410cc79f32a456d59c71c455002b8523
1444e2582233eb0ed7abc8566ea951d6938f75bc069a20b47d6f5cd8608a740c
b98796554589eb7ff3e30bd8fbbb27c8d2ad31bc74d96d4070df1f0eeba40544
ed1d4f05c0d4d2c8f4dc4227c43a4f08be01ec6aed92a3ede2ca83550543bbe6
5bd33fd191ed602e3ab0c47e9d8106328e73dcb07e3ae10062470d1de138aec0
eed6b20e25e34b0ee1498948c8baed0060abe1b3a25f9188b123c81fd044771b
5800130bfd912f58e6335791afde9718a59dd3428a589581fca160394a3f4b75
8846bd908fa6481e2ed0a2e7fa1cfbd7bbfe02a78b1cca75e9b2a1ddaffe1084
89192fe23dbce157aeec48168b45ac94cc47bd6d83907b3ab7dbaeabe5b7b7ef
90bc80f8742b35525af3e1f4fad4c5e6fb3442423b6be7ddb8c4a5be76bcf564
24cd76bbfab1f20c5f916bdaff001759d75bee16e6a15f56b5e66d8a8d730d0c
a9523e8f9cd9e653b645c1b7b8105d98f3c33c6723f07d9e6a2a1e4b9e6abdaa
22961936b2e19e95838777b24e29d3f43eab296a75958036b20c21471301f96d
c806abe05b9614690c9c8466a3b3c8e15fab6bbe6fa166e23f0dbb64f5e70be6
46cd992cd75c2216af075f5d1080f3620e1e6ead488de2e14ed56f7698669d25
273539724246f023b0afdf79a9dd517ab0e71606381900ca26b0844a5e30e9c9
7923394ff64a094d4da561b962b694011e79c8e586c8d125cb450878d3cb53f1
91afce6ed4b6e4a52b03a83db4610685cc272e829a5da10db79c371ef9b00e2f
0972682e3c8b1767dd45efd8dfc1d5fe664731d4a7786a12104452ba29b449c9
662fdebfb7b71ac6136e1ce707234440672a9b019f2a4b3337bf24338349b7a5
027776f83ce747dac6bf7bc939a6c53495022131bdb283496e0bff9deaa2a0b4
ddeb2172f620877f95b69cfbe8d1bda1dc77b1829ad491189e9cf5f5ddbdd8de
e36184d7264bcdd4bf7dbd9e8e547ccce50d2eb057cddd8589752f03df1a1f06
e721f6e1ba3818c5ef258dddf19d5d7cdd635c485d620d4fda2107bcb0fb67c8
d17e021710ecb696ec97a339e579ecf67d0397b26ac2a7b578358a40fbcea3f8
708c1093cf817a0502cb65014e73c0881f94dabead931c71beb4b563e948575e
875114b08adbe2783dcefbc56334bc4bc4c3da8c8b3300f37f2cf67ebc04df7a
9824c64701faa3f24c69e19801cc98b313b26582eda0ad46c8c78a3452f7ba33
d3e3a3cb60e7f6fba14759590df00e85456c17cf071cebcc358744abcd2b1ac3
7541bfec6716ae705afc51f66578100662aacdd92f8c1d8e9a33c82ad33c2872
c1ef258d0b0b3ec1016c7878ec20c7af8a1d1cdfdad785389172b30739b674d6
7a1dc6483c83b43852c892f5b26b29fbdb0794c81bca4ecb5d1080e8cc371da4"