void-packages/srcpkgs/firefox-esr-i18n/template
2021-12-29 15:50:57 +01:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=91.4.1
revision=1
build_style=meta
short_desc="Firefox ESR language packs"
maintainer="Daniel Nümm <daniel.nuemm@blacktre.es>"
license="MPL-2.0"
homepage="https://www.mozilla.org/firefox/"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn "Bengali"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-CA "English (Canada)"'
'en-GB "English (British)"'
'en-US "English (US)"'
'eo "Esperanto"'
'es-AR "Spanish (Argentina)"'
'es-CL "Spanish (Chile)"'
'es-ES "Spanish (Spain)"'
'es-MX "Spanish (Mexico)"'
'et "Estonian"'
'eu "Basque"'
'fa "Persian"'
'ff "Fulah"'
'fi "Finnish"'
'fr "French"'
'fy-NL "Frisian"'
'ga-IE "Irish"'
'gd "Gaelic (Scotland)"'
'gl "Galician"'
'gn "Guarani"'
'gu-IN "Gujarati (India)"'
'he "Hebrew"'
'hi-IN "Hindi (India)"'
'hr "Croatian"'
'hsb "Upper Sorbian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'ia "Interlingua"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ka "Georgian"'
'kab "Kabyle"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mk "Macedonian"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'nb-NO "Norwegian (Bokmål)"'
'ne-NP "Nepali"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'oc "Occitan"'
'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"'
'son "Songhai"'
'sq "Albanian"'
'sr "Serbian"'
'sv-SE "Swedish"'
'ta "Tamil"'
'te "Telugu"'
'th "Thai"'
'tr "Turkish"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
depends="firefox-esr>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-esr-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}esr/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox-esr>=${version}"
conflicts="firefox-i18n-${_lang}>=0"
short_desc="Firefox ESR $2 language pack"
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="ae7e1bcf84430b21ebb560a7c6c7b298d74194461368e86ff20340cee3bfe013
46df240895607dee205d449075d70abad3a49600dfb7faa971aaf4e4d69c0e13
d24b2ed77bc6a8d24fc18218def24c75e052f01b3832dc20a45eb856841bd8a7
4ec1b217b9017c2b0caa7baa8f817d1fa18c1cb7464fd95436b2e8c1cac644e9
e5f107adc1a504203e358d489aea3d778e0b75be4cb5af365313438fad7626ed
e7569067dc139ed22fb98582f7d347fe39cb04e60e22e66e2044850b231c2a62
2a1c89393fcc8a498885c34d467d2485dd7d6858da49650306a1e1e97c8caee2
be8b2fc6aa6ed488f50c42f60c834d310845310402361287a7827b576691ff4a
f7292a6ace60d9b15ff2fe7a93c492d29884d074f223d777e6ecef08bf32587d
a7fadc7193513db4991d738ca14bd22c63fc4704f92f9dfd6dcfa3966c9f4cdb
38685ea5dd319f20f7bbc366bfb833956aff8083cc982a10c0df26f0cfbb02fc
ead960cc7e98b463d52a780cd99e7d9c4ad82a1e0fa11c2e42ad4ec6d877069d
c21ae2908db9946c4ee97a13fac7d1a12800923f9c1776e1aa366c854ee645a1
6e3d76182dfec9f58e364e4081ee27f5318273f0f06db065be4e51a38c059f4d
294341ec1f8b149459ce9e674b5777c627da80ab8d3a00bf8767ee2a1defa726
0716f49b99f8f6c2ddf79fadffca1a67bf2729a9122219e96b82dd8bfbab5257
d218acff93fd1e8c3f8be4b93e1916cac829fea247641118696560db9ffc4f5b
a58de7a6f69ba4c148b889e0d241a3dd9e70dc8ee36389f7914af4c2e0934064
d4745a148d82e4b7f4216c046637bc34f8502f658663202c4a181a67d1bd532b
00006e9de7925538dc1cc81c5762eac01572796f4d4db6dcfa5feffb1ea47a66
abf939b9ef36631ce8d1b58f4343b5e93a33c684acb0e3bbd5e614a8ceec3940
1c6bef188f754203dd22637bd34a9e5ef2fe65ff02ea33bfe51b7f73d5b7e144
72bddf5c2183ae7f4b218425a10862a892abf85361ba41dc303e5d1e50f7111f
52c0c42493ad40aa8f36328db39a75344deb3a0ceb9adb9c579dfa192d93cad8
490e592c2229d12b42c6a10455c74dcc532e028bf53ce7f340e0cafad08c5f49
0e9bf8bca2a313768bd6228330d3a43e50cca398a41e32c070cc462cf853b802
f219e21b708bb02e10f0fc7fba666ce5bce17dde4663786169e9e8ed144abad8
c49bffd9842574f938e61dbcef8aa4c4abb4f9dcd76e17fa347d636517e1ddbc
3c6f8646627a9250bb46d622a1f374375b0fc6e8a594960894f66b72bf35ac08
73e5b091b11187145f78fd69b5593c083d3ae1736ebef105a20f6d418f7632f1
0207f4729dfddc5562bc0e8843390e53f311679cb744418ac4633082aeb399b4
cbc48354a943e553e50f97670092f357e77ed474911b66540a9a0e25e4e12fa3
adc43b5e77fb254d31db461380b7fd2b68fa4b7d39bfb73d886d5780664d40c1
1917905a8bdedf366450cc5c7fc400526b0727affe73af9c1a42e2996075771d
7deb139083d1b6695e23c5dfcfb01116c1d3fb1fcb102a386a432ee8c4f33330
3087c587bc9ceb4294851f3ff48562f171b3e0580c840c80f922e96abe2a7eb4
858d1e9eebadef631fa82b796f8162b70f361b05f4ab69b6e9d466806fb6d5fc
12b00be159ea24fb4acfed34dc4bdb0399aae5c6efd3efbe8a0fb18cdc8f36c6
78b755d2cebfc7e3fdc2a78218d1717597a15ee0342899ce1ae3e913dcc4f704
cdb0f1db343ac3efd26bdf95e9f2f75b4ef378d37661a7db80c8a855e03919ff
eba844f5c1d85174db5a49ae2c4217e8f22b704bf58ba1170d409af4590bf33f
86e12a644a93b30f2c2c0e3a923616aeb4a073bb094edb5c41cef4e29dbdc692
046de32828428788bd45fa057d92f087b9cc400a3eeaf5c4dfc86e0438544b50
358e1e7345be62af20d4b5338def47adfd61a6674e4dbe954984faf517d2e630
53c019fd98abc52a4b213ee186eaae2c03e1a1046517e327be65d2c9371e4c59
b8003a43bd1e5daff55b21c2abd45480896c789b2fa9a10751f5f309d0c53b9a
3a588661f52028d7917a2ba01ff4d64377cdd57d4f0b71d6d7a98a4d82ed4840
2ba0d00d96e6877fd36610e1f1b48145eaa22c252f0119977630fb1b7210e860
0c5c417f3e3c14877768a80170b73612ce22157266df6e6e92e1d5c315b28783
40634fdcc7530b7d1f9389a66f1676e58d0d52f7e1921bac82d56e77108fdbf7
c6609ca00326ab59e5dd59fdf3dccccba9c1cae4b0128a7c52549fa3c937fded
4172f0b12ac506da4dd94dfe210139589490c760a392ea89d0fe81602eab76ee
f7761afe146933d56beba66e3168b64c93d67af4ff52afcc270af9e24606af1b
27315b2300c0e566486063197e210a85c484e500abb6d91380267e02412a6c8b
bda75980ab8517689c4f6a8fc80962c7120701a1d0b6b2f64a489adc22ad1cc7
81febad03cb871834d25b188c4213c5a5db5a0d97ca40ae5537094be62a3e5e2
6df7778314922be1e5c2e2bfed5eff17b84a62f1de66e31d754510fb65a43754
0e1055503cc53d2ae0b5324b5ec42d542a2bde4a64bf1cd98f5c452d06e48a2a
cab696ed835149e215c3050d202dbfe53d4606dc9fe5ad148e3727fcf5752991
a6eaff8aa3117ee61e394a2445a1a372a0491571e5e01a7498fa667cfef8f134
aea6c771102730139fbdab672ae193cc6b84a2653953ff751af6010b7e8154fc
3adb14c9dec1d3d04d109ed3d839160225bd345ead593512885bdfc742152172
e75b59f7b4114475b167aa30a684e7390276bf43d264f73585d5e03a613e9a21
247433336ac02898598707b1dcebe6576218c48be07ede762f7985fbb0c4f1f5
dad023938efc516876beae61b5dc8f74d19040f883804c7ddfe3cfbeb0ba43a9
38f1153ec1516ecc4741d26098d042b37daa95b8cb677ecdba05069c768a5e7a
9ee9419947694201b64076839ba09da777cdc5f9ac44dd6a28e7e6ac2db013c0
2dda88bfd581af48230937069dd50b7dafcfcc7d61c04ad59e4b0d862b15b63d
eee118fef8d3639fd079d6d92941dcae4e7cb5f02e0448393f290a024e97b437
473b97f47b9074967da70d076e62a924fc39b97fda8739ee21f54817b4469453
2cc9fa0be9c0f4cb945ae76db7f86ea9717c84b188ce8d2046870a42e3a70c64
706a616e32a2ec007024ebdf27a06f4fbab425100940079cf978bc56de8ac4c6
a9a82023591f58a343d057fcd0c605b2ff893659f6564df34912721fe0cf5571
1f08601dfb91b6a3cd32c44c842b0523e4a0a82ac8468b2201264c1287489dc2
4d3339d4ad61e458fa39690e9004294ab190bc6786e253095789da480e5f16bd
33620ed8aea5271eb195a65cd64434a4ebaa9d38e0543ff75d905aee66fafc81
33cb5da4064f9edc11ca8a68387ca0c45987a4ac2fb89ad0d21e8aeb6e968f9a
889873998d8e5366ce8fc9c4fe0dfbe5116edbc2597759d663cd862c8fe291b8
cd5840703f151ed1163e7493a5e9d373be8963727375f312ee831f9038f62e28
8103597355602bd44d035f3b6fbcf265ae5ff883c98c2f6f039e545e0bac6ddc
983e22d5b7c2187effb01541d6b547e1eef94842690faa711056be73c3f058cb
f752847676d677e691a54e84c50147fea946c7f003c2e7e069085417fef15f40
cf3ec2216de8dab10840339009b717f48138be96d18e247058e67865c7948213
c91021a76d6cf0c04f4e21348d228e285860863af5c0a26bb790fb931648f260
693cc055785211f3e2c7cdac5d9ceeaecfe4f7bb294c18c85d70dedc8880dc68
9c924f5e186c2f9d0c3b9bbceb6982919438ff8bfa89ccf8897549a7553321c7
d38ce941e3df2ef469cfad568963dde8b4efefad902f3964300d7db72c9dcd0e
9ae606eb921fb47af47b6698d164a30cf44d908889b42422edba4cd7eed68742
eb83abee2830950cfbf5d5fe7b5895060e809218ab4235a918d776b30975fc1f
9acb5e2f1f8ca6a96b773fc83ba3167fb373742c778e6fb8ec8a5ac20b8a2954
982df0f1597211673da21d70301ad3babf4eb5cf9fe1e86647d5950482b98a5e
364fc31a358318851a09e449337f2ab61f91065116f97541ffc61664f7278de5
9d37baefa26f73bfe2fbeac00978c79a8f2d8e206184eb8fe0df2e3800cdfe26"