void-packages/srcpkgs/thunderbird-i18n/template

154 lines
5.7 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=78.7.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-x86_64/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="dc139cb06a57b5fd523ca5a5841dbc46e058a88eee9c20d6bd5dfdd814fded42
bc6483761476acb595e7d06453059b3efd3974a2cfdbc7cb7eafda2b581d0010
7df83d410595290a7c8d17e65429de7f7441068192b2e81aa00e34514a0a9d59
1abf91853869dc9dd45f7f52d4efe4450404398a4646105749f94e674c69c4c8
7c85abe833857a3d2d17f162ed0b5abf9098e78baa1f224fb65594986c61c47f
0dd8a465ce974fec5c0be168ecff82cfd2de207c4ec40673fe67b57409735fcc
2dfa481d8df8cf51e408c6198ff895e40f55b1a24d781f3a4f16f71b464069d8
8654a0e1417138bd5a09621cfd74d68415886fa3714bed1fd0aa7edff8650938
5cd2c6de1618d6a8be2a298731013da0bd8fca7601fd68f224c97e6820699ea6
e8a20ca1d4048db62c26399b29ba4107ee96c112c6f47cf87721dbd46df61d06
e6f835f1c5cdbe7f0c428b6f9b5b25eb8452b35300107dd17561f6acff5e665d
c8c4c8411fc3f4b9e555baf3dc6bbac60d51d218f095151ed9e29baf749d36d1
3096dec5b02c82515764cdb9fda713dee85651b66a5bbff57ef32dcc812bcda3
bb28056a70c0112bc67acf2d8cc2f0719336ad4223d409cbc1d19b0a721d18e4
1ec412d72bd8bd35b9fc417ecce15193955e78d93258ac1521b24fde5730221b
c6ca0dec779a05b52343e44df445e379c45532ca83681205be596d17d37ec7ac
f2a207215fff83daac000d90fd15d01475e92e2b21e74fada9796e61961b2f97
7fc6cc0140288d1cbb0fe3fc6946803320249a68cd240290c0e5a6db38fa570c
c805abef39a262c61fdc394d41401b17f74b4c756abb67eb42ed5977cc66a5fe
da6903f1d3c8c4cc3e9d999533b3ef1717a472bd990819a12b8562f029b0435e
4343d8dbc1c0f7c44ff293fef3e08014090a0bc60b3a0cab4b43922c3713a383
efa4bdf912c581b84370cbc0b8da6ea452fbf5b77ad3a3a6e8aacd3dbd9edbaa
032010b9fb64344207a18e6500d6a416f76e89b5abad3c9c6c7b0d5ba42af2c5
cad754a63527e81f8bca3497cd26747ed0199a9be8e5325b813d6a89a6c4ac2e
8a19a42f0637c00a0d0d47f1dae2732330f7561c231d02504ca831e915405cb6
cec085d5c74781feab3a3e7e2d798529acb3daf83b457e643fdba67d140b6792
5d880d49e484c812c33f1e29f0eaefb5f8464115566c989421efe9adfd658293
aebb685b45988439be1a24ed85fe0644bf7ec101a7dd5862c20466db284a42b5
9982d440c315995e4942e188413de7634706265947c19eb8c2fe9a21fcf2fc5d
8cead19b18afaf2a3846eab8b87e6b438a4fe0eac0520ffd288613a2e3f0b436
36aa8cd7bf8001b6fe4f2e309fccb96c8b509c98c76d04b433de6e7933c24109
7da7495366920a00b69083f3f0e3ae42c656f1125d812dfd491e3729de3efac1
c36c1275fdcf8218364653858c62c31b6d6b35f32305a992000c96686e7b93a9
c05086da1d19050d5af120f9b42c7cc7137500f86f8f0fa30091419e640262c9
5621d942d8aac2c1c434cacfbad4bb906408c822b94b29569d3ee824aca520db
74dec8ab24e01863a94a49e4870fa64a0dc7c499879da424fed14d5b5c5ceb66
327eea1f4db3f315e2e02011232d00738ced6bb70da0a654afa2bb650f43bd03
6ff122c21e17fdc2b5b9123a8238c279b9fe19290ea5a1492792f97be012de77
6099fa7ff2717057100a0214c75bdd06a754005dc66ae71c7c308dd57aa01b35
22525b2ac8292c2e66a3e5609a82ad4d6defaaa16acae85223ce54bab9ecbafa
49614bb2693f9ab0899fb411e41b90ef2abac8791a942c181b3b547ca1f9a6ef
b074a72df48573d9bbfa9d48fcd034acc012312b527baf6fc515a2a2a00c6c39
d715b12462732993d062366ba5742a8c5b8e7f191fc65acf6a70421f088b2ed0
4d2916db09c2ff79a795cb82a7f5e9445c57bfb9b29ba9adc7d258318f0dc621
3c760fd67702920bafe47e1747862a1baebcc8ec9fde2e4b8f2a919222e5aeb9
fdddfd5236a43273c031c1ce84b78a9aba5b8a4edffca7ab4ca90ef56ac78797
fd96e238020144f026391c4b602faa39b2bc52d8de499447a5daa0aef5307e88
2c391159d9006f0fd2b273c18c2892e910d82dfd31708b64746b27d3b755c458
5a9dbbd62a2d70629b1c06a211b026a59e78ab6bb72ec17aa4b043190e1e8b7e
6a983d0d8ac5bd808183d9ee8fce79e970eb84d59b24973a8890413435c6fd45
9487cfa39c8cdcd0f7d65ab87256eced5337f67dddd1800cb477219b3b13b845
5d751de257ca6f33d3f2dd8c11e794d5726eab35f8c7c686e09bb274aa3b5915
78a04fe243243ceaba73125582e06eda9f1c868724cc7eef10528a9c2eb507ac
cc54c95770f1769d268026acd96d84a9828080ba07c0bb43b20c115bc829d23a
e3620e77f10074832d5df21474f9bbc7814949b9bb4f941dd420ffe1bb447eda"