void-packages/srcpkgs/thunderbird-i18n/template
2017-12-27 16:36:24 +01:00

159 lines
5.9 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=52.5.2
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="d7a8692d263db8627443b2d8c1ecd4d06364829d0e9f8a890e94f2a25d0a3421
b70bf171595b5a3bb92ba490929fa5a6e476444cc3c245661e28f20ba39dc62a
48b69b2f1c5b17fde1843b8e53f55488fcac27baa0f6637db91ed3cc6c328508
f0219905296688e1ec94b8f96054764caf7c00562e7ac2eb5893c03b2e324aae
cea442f2be7885835acac51de212777c5490e20df393b7e00d2757100bcfe45d
ff985a3332b7e2fdd4e725bd128cda9b1ee56d9c14fe5f7e8311c445564c42d2
e7595d5a39c6da2b1ea5f6ce1942eaede35a7f6c5856db869be7f49bc41fe86d
ed5b96993d7fb83b6974d344df537ea59bd0cc82314182a6ae813dded45387fb
2dc7a0690039a04b08b07fc9330100b66854b68b2b4d1a85a72e3079e1fe61b8
5846914c053b7ee356679505f5b62360993bfb15cf0da5ec128b1039f7af3edf
707393f05f86ea10041d31ff9d61760ce9369bcbf984999663483e451598ca0d
660031e37fab05c0320aef1aa8a0695b7ad7ceb9618428f4b89074e76cd5b4cb
910a1d603b14190034342cefbba9f3033d1203fa4f676c4c3e29675fc6c249b7
10d5bbe2cf22e3946cc67a8b9255c328740d61f292942990ffcf7c113edf5b7d
78510bacb950a5791ceeccaa41feb5c09053bf685fdaba8eb4c3e260b0c57ca1
be1f111bc6d0589c89fea611b9a7b30393f564405e41d0403b628ee4204e72e6
a32ed2c27a4e3eb559db3a95e4e7bae1f51598b37c5a14598dce46d8ca19fe9f
e5449c5269a5afb66b716f6d090fda62749ec7717d84bfbda0dfab5e7c1af7f7
b37355ad80efd2efcc1841dba2622eda5d1394fee894a72490fd22511493decf
d9a3575b7ece3402873cb08a715ea790ba2069de8e12b401cacdd311028ae1f0
011474c4243c2329df60b8a6f48e1a8f31dcc835d09e9814a316cb13424b2b2d
9b64fbfc1e7390934002b738ebc9b772617fc765732fc51718d6218b0ff07f43
f8fc5945970e06506041e0b141ad375397c409d824b4cbf8821237e100bb9f0e
2673fc5e4fc529f034fae08798f10a056d512256ba5c6f2ffdfcf6ea83bfb28d
27d4ab4e421a621f12692c4c2292898faa1dc4cd03de7f3b469fc870d0966bdf
0f59d39cd46814960b3f0cb8cf343d91589ceb4db9f107cdcd99d18a34f791bf
bd67efbe342167fdcbb4438591487c6dd1c9ca46e9ad3fda4bf238638dd48f3a
fc98e7d8d5f6c97efa2dc40133a70170a3df05aa497719ce8c3befa1fd6d68fc
1878c3fe119d2007baea3a6759bc950fbaefe93fc372d3b92c6ed64b2a946859
678218c48d874d5e308301343d8bad97cf6827e0fc0ca34d5ea1b0ac58beaeeb
5515a58cd0b691a1d0dee964d931279b8729cd59f3ee45b23f594f5d1df04240
2cf40947dec980d24583eb5ef57f9461848fdcb7e5fd6d534d670735a7bb4120
8ebcd3cca7db1e7c7cc3f41551fc83f2f8a2b13099da6b25ee30f884d7151f18
f8dff411870edda5723264b5036de51c3570b96c38a31f23b495b0eb74df25c0
7628e4678c52354a052cc46737d99d404c0beaac9498209846b485e0c29cad52
3e48f9ea89318840b0ebbaf6391463274b06a2d48f2294299a4359cec3be0a1b
0c7ec0d8f73f6068ddf9690f606bee09f0526d00f7c5bd228af01b761d53dda1
68d98489e93122e1c5594a940dd64008eba76b33db395318ded2817b34ca8012
7a665dd51bd4220e26c3595699da7a74f77616f95f42e2dfcc962801b64700bb
463490cfb5c2318dcf86806b88f01fab3c2be50f6c31e6d92ccb629ce1d4919a
9f8aa33583cfb8eb0fc3098b96a5257a392d982b26643539782b7877922c843e
6d854e679ab9f9e0f080e94648f68366d32a021b77f630820ae164bd9e348380
162ef60b8a2f7e7f348d8a559ded2a325ae8c81d58d6574885754e049ae5cb39
6dc69a5ab79f59aac8e5930fc4ba0e914e0e65ca35b7a192fe4d1635bd9e9f43
137125c20dca51d5a54354237f0b79e88fe15fdf6dfd731422fd72556263dcd6
eecd8b8c525531fd8aefb45bd5ae5a1cc97dec025f23b2ba9d17f04d66da8173
e64bb7b3a59d21bcb3746611e9b8ea468aa8b2b15039a86275ee8b69cf05b285
716bf7a0f9a12d088be1e4ddd07f2a3861eb7a646dbf0ad1fea1be3187aa5049
f458ec4d93120dc015302c67ecf8a3fb70bedf42803637805a739a43d187cda8
e7d418562df152cb220227432d87e5808675a859267a1238924af67acd073d9d
d563fbb8db8bbe94e19ab2a24c28f4b272690454175b9955f8e0f84fc08f8ffd
66e0ed6938917713280892a263b3158494f2d7a112ae9d742d94b47140091d9e
dfed225bdb5490b547ccd7f088342f32e5e2b28214c6a7490cba5c189bbf149b
0289d22b1263c1138134f5b6d286a3a42bd450eefe297cbe0c62f76cfacaddd6
0d2f1e4068a42f31f58b92fe273685225bdabbda121e57936e0c73c5c18a40e3
240595758975b80c2a205ae4526055307e61f74e5ce1aa58cffaded88f41600a
69c6202ceb23bf912e99d776203c7f1c22ff4604e87bb819f78f5e6f9a28e2a9
861584c71533159d58936c40ab60b1fcfd071a4b568fa8a779374e1b7984e2dc"