void-packages/srcpkgs/firefox-esr-i18n/template
2021-01-27 01:37:54 +01:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=78.7.0
revision=1
build_style=meta
short_desc="Firefox ESR language packs"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
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="e0680e2bf60e550998b86ecd04d34f8b4e76e3bb356d2061231af690c9a3c2e6
70dddb39c8cf269b1975e4828204275dcb0b8e8c579f3fe572cf912680b3be94
d27d6525afc388fe2bb4a24ca635c6b361534c2d6510e40b01144c74025e5355
c8f3dd4ce919435317dd506ad532d84c27f58e2208b443586ce9b7b97ad1c333
07f0a5bca9361af2cdbd6564ae3aabea1ffd7682dd4253b456294a7aaa2c4fd0
be86979f9dc828b700ce05dd312bb02cab482ad389a0103d6aa4baa24b19bc14
9498b1fffa6bffd98ca29e2a7fbf71291a023746d35275596d3d0819c00c74ff
96be0d5fa322388a0b8d9e6b2633c03cc654cb18ae37f80fc675537d87b11c89
af7042ae5777c5b634c8ca044d0b9d3188ae22f386b769e8c0e920290fd5704d
be6380eccbe91b3aec03fcb5c46278ec87f61d8c7e9677f2ef47f983c44d0cfb
bf840c2319ea9881148af9f20dd2ac83d57cd9e685d40b76dae3c239292f74b6
ccec321436bd37f548807d5b454819a772bf53222c0318d0609572b2360202aa
2ab653f9a863ed9da46da4a4618681ed231ef58ca069f2e076786b95db3c6f14
2298d3af606f4a1a516e903d5cb3fdb47110e385d5bd2aed6faa85a89b60164d
1f3c877cb4e1d6685bd3602579287e2d93bfdc49c3d3dd56ab9c12c1892c1551
4f2fc2a2a4e0b2d1197119b8bac77d19fbb3ee745b114e8b62e0f6d325dff5f3
cebcb5b8c6f8d5bdd5aabac064fff4f70cc8047662ee2ea6dc892c1a843165fb
799c7931302a33a2f61be7a43f2619729ad7702fc3530c293944637f18daa739
6137f868d7023af0166935591ff8c33f910f08be0b4c9bb631fc12ceb7965587
7525673f9cd4db238dbb3c478edde1089e4d45d1939a13b135a44679c2cdf2e8
b804d47f398dee126352f81b83baa40d8936c062cc40705b70bdb16dbf646958
b1bd30e53070b9ad7d3c4ce392da4f9fcc800069f6c064ab4e2b6eb70a081952
7248db932ca9beccc23c8c179e0adc0f4b2a280cb3a62d6b0bb91941772471fc
7816adfbdedc2a0ebb90ed54823dd3320ae4f4ee200c00105249b37bbf3b552e
9e0fe5d6790a3283642404f29bebb06e8f6368a1b4ec35a55c2baa585f4fafe3
bfd19f18c78f91aaacd6a77b526845ae7e43c24c55149fce39c03ef8da63121d
0e10a7ea0f3ff9a2d83490b500c383b8c483d0a22885a5174e415f2e632ddb43
3ae8d77fa6baebc128b7eadc85e59a45a194cc782a03365af0054ef7b6c131ef
b3a0335e35c60cd867948f1f25ceba5ede118966d585a8b272d6976ae018c96e
0fb538b79ac396be79b123aec8591e2604090f12e7ce7a1d2a439152be015fb7
3e4b4d7bf8227ff768063b3ec5622b6ab3d3a23249c4a03dfa096026a5cd5d10
d251feda253e695c77b93860a2ab00f3e99fa90e0b05756ae771ca6156b344e8
ce4d7e9c3ffab3122ec116b3e0ea18e0d5e8c23d2c121d1507180477e76bb80c
479d7bda7991b87a287a00e985c538d2055f2cf22e6cc7121aae1fd4cf1e9757
21e8ffe1a6919962bf286385b54e1859e23eb337c0cb4fbf310d722feca54e3f
548009e17942238de9a2f69bcb226d32dded300e901a19026602d1141126fb85
9af6ee2975ac7a1c2f4b3c1bd63a9f1fb4d6db04131aafbb9dca4f497df8677b
360e655189f1404655989623bef3fdb6da33846a779f2196b1cb80ce3799ff63
7bf793bdd0322c9a871a564d7a7e3eecb36401b4c98a2c417f7ba11f4d9d8ed1
26cce49dd6bdee1490a1cc62210c91e32c875494c473e937c96999b119614b89
e2b20759682a9dabf22e8b7f52840dd603af7aef7dbe46d5c66c76c80d664958
7d2b6baa832d5f3ef03849ba5f5d79be513869cdb7a06a3052f30b9858d72fe4
6f2a3129858f2c439a4f19507215cc54406b65edad25a0f78bc3568583b2fcc8
929e84780fb4907525511547a40497413b0ea5ec591a013c4d675822580939b4
1b1eae14a4a5b9d88866a5a9c03d3ed4b87c6189c0f6fd33027fe94b1879f3e7
4b44b4cc69718604a866fd16295e814a38e49012a7da423b3e24308f49c99eee
e050321ef8fe64ee6073c63461bccc95a3adb27533c9a70c84d290f9e67ce1c2
f867d5579ff631ccb08d40dd0ebc94f202a205cfc77b381b88527fd113af851b
849fc82129c125b41aae2cebcb6dad070cf156eb491662f9fc3aae3a8450a4b5
6e4b51223d2c0ecdf792d5728ec893afa6e5588d6be024e49d18233202918f25
e38865f03a27fa6754c1e16d7519f6378676f8da3ea6c96833820d74b2babb89
21d19019d90eec96728c50eebc0d1c3a8fa39481e999dc56bb01cee9d05816c1
ab9e68d5497f7d1505a58842530f3e24e292247dfd01d694ddc6de22b5ed4e1f
149ad1fafc2e44f232521473df66198c0e70be03f5bfc6db2502174090ac986a
cc7bee0d016416207e97e006d7f84e5e680e914cabaffa4f6d36ca68ca8e9168
a22606075c78c814dcfcf5fa85514fcd026a9b71519138d74c9012a47a6c6e30
bf99363e1849bf0ce4107639fee3b2b3eec4eccf21e24082c9c565f03d3899d3
e4e003a2552434c5489865aa666e664c71342b7d842b33d8b650ed841bcd49c8
2f076598229ad82565ecae1458321c8497128aa8ac409c305f21281b90a3d46d
d460168e536e0560fb8444b2e79cc2f30f80699942cc40c8e93f93c8c9e3607a
b189e3d4d90e2d3a7d85a0a9381a3efe9fc7bdb3e8ca074ad1bd2d9b0c06220a
249f5ffa15a2373c034b6c2c38377d6ef61cf063c1b906a3becb38f38167ac8e
646c87f5918a6c261ec883aa589f42b00831d8d9b827e17b2a50fdf1237c0cec
fa49ea2518c0d49ecac0881d480a6ec991bf4a5e74c7f049061d51b07ccfca34
c824290dd4715abcae813491b974ce7a306eb2a07ba495a6925ec8b9a11953a8
d3ccb2b9c1ec7ba46dbd2118bd6fcf442d6b28927a4821ed0b503b5ec7a0b024
d280632c05436c3639b607cbaab0b268e7f03f7090ee86c5fb3fa72bb385db95
922a937523f222b87d8ee30b74b5dbaa7e895989e4c0ea4e293e64751178e564
90caad4cff7db7838673aa7ba6635de68937c5146cf955b6686be924115d2d5d
3613227480ae4ae19a00673d9cd50014b9c42ae0f24c241b111693d03e49e92e
ff399f50ab7f52b9899c4e33da944ba8649fbff1b8a6e317a912a130bec7ce90
c21864cf17d6d8b6d8ead7d221eb19ff1d51842ddaecc961116c1e4c69426301
ef1e3a66f66cf5850f060dc02607de6d35ab27a7aa5512bf87a03a0492e8a0f1
cd1a549f293eadf20460f71d31182081e37aa7971073c68b27615937d7dde78a
53751982192bff3bb6927f954f7307ae42ff0a592298f4c7d67a687372307d17
35e0409118384857a4f6e0576362e01046c7b871c40a71dde4ee47c41305fc7e
f4c1dc455166d1eee3199215b4b521a5d33156ea6c5607eaf25a16cfbb2157b4
9299724da6721b598508e4b4b3e612155175bde60c276ec83b8765ea67d96132
a61ccbb3eed3089a3ee5233333f2501d4fe226573828b6fb3fa314e1df0ba972
00357932c13c8004c9766ad5eba0044d99ea2127971800ebc0ebeabb389b0bad
b1e699ccbb0b12d5bae96f1353c81635ce5bac471505a8407a2af1aa1e7313e7
20d9500429a5b9b2f6341b8d1af95bfba8ec9e16757bf4cbf75dc71a0571da79
fb1293643e647f947a669a113d179cadbb8fdd3e563a08f569f8ed35ee3bd94b
1b810baec4acfa15bf8af63dded213d6ba5048eec11dd721e08b7e936616cb70
bfa27acd239c7978e7fb8555e4ed6de6d65701ce4ca2abcfd7e4358ec3bba3ca
e4a806b55579cd7f6a1de04c601644af122cad80a1777314d2d13305fd48b162
2c919b76de1ec61a36905d0c5ffebf21bfed8bea177f917a9412ff6e8ff99d72
0817006cf0288f31e1fd496f9a33f42dd63de368727a70a8a0e6d7ff7bdd48ac
6f54c41fe252a9ddbe245e525c96804636ab03598caf014b75f6d482a752210b
ae0916d2154ee8231330f05fb848bf041190c9453be130e39164192a57ea0c69
8c0045761f74fff9b012785913d9b38f0b829f969d7770fbb04a6b01fec05d44
6e79fbbf5bf4d8444302c626b05b57b5b25726d1a890b3c5bf43d425a3ba51e2
61288b7808de9ce97a4750569362ff918d6c4476fcf620ec742b2270a9327d1a"