void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=106.0.2
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
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"'
'ca-valencia "Catalan (Valencian)"'
'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"'
'tl "Tagalog"'
'tr "Turkish"'
'trs "Triqui"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
# XXX: Remove makedeps later, just for build ordering on the build servers
makedepends="firefox"
depends="firefox>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox>=${version}"
conflicts="firefox-esr-i18n-${_lang}>=0"
short_desc="Firefox $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="2563ac4a232f337f8212637dc414b817300aed363bc0f88538f3573714fb3510
ccbf42a6f0ccac202b16dcfa5c925ad8e97b529b3b9c26cdf4fed9b810feb9f0
d298771ed324ab99a3c117f9302beb778835ac00165bc70f0b0ff5029b5992e2
c918f07ceef1e8e80efd8fd6d0520180f324475f37b548951c796dca1f99cc28
dac18b3e14420436f42d009829a925cdbc33099ef7df51b68ec9e351d2547a25
2172013e4a89eec48ff68c04b25635d37fa58d889b6cbc72e32c9d6ff636e47a
112378b622b014e565a830f8e25da57e8dbbd0349d761209f91eef191d20a3e4
704ae767e9bbef6fd66176436756251d5ba64aa6ceae136a2935c071eca1b96a
7d4949a4e48ff9e7caea32157ed0dbf48f012bd4cbc0457248fa3aa01425c7b0
d74d190cc4d505d0752dcfd0e66c4abda0c394809aec035e7eeaad9cf687f2c9
c34a341e1ea494b8889fb45dcc038aa8b17d0fc7caa1ee22752143ecd71fbda9
bbac910a24c925763d8b72a6e3f0c81db228f1c970f1f6744ac3dc11f37b9d62
8bdb398fdb23084a896665590e8fac3ea7e00c50eb31b48ac79cb5ef6afc6178
9ef5c25e6c22d7f1b112e18590bb73181147fd17ebd9c20647dd7424534f09b4
ae0b5b7a9b0f8b3032d340a01f8aaba4a1eb1e4b9cb6fd777606006e2c1ef427
2722df6dd1f6736f80d281403c5bafc6378380d4068e727078c1d48bf14fd392
a6c31fd4be4081f5626e16ca3c1d520d4335d380594990497a184a087e88c56c
cda31d28987e4fecba9c9f9051e3e9259f539b8fa6fdb7774f0592322c5f2aef
ea141b4118f1164895bbdde078f670d17545376a41cd5e4fb54fd7e99bc24c30
e653ec0337d9114edb6fc5aacc83ad2e24a49bde16eef2996ba301c122dd7190
a209505baee38e575e3a0f73eaf1002a315a6b167ff6dfdf46df9feb3335a914
0fca2cd2ed5eb8d0843f9a65e402072a8a915c1244680ec5267e263e264b5fbc
a59b399a7138d68b1f81b738378a829be7cdbe0db9f6465febfd2631a58edbd1
d7a94532e297fcd8c6342509320fc0f072db8d18df7e57ab52cc32824a4f46fe
b695090f79cbd43e1989bb09ff574d155d8c8d0bce94e6a3cb544528219e6061
e954767852b23041aa46456966473664705551cd6ef1a4fc1700c71f1ad14f1d
9ddbd045c557a4205154680db02c2f66b0e7028e070a7ae2ade7b9d2153d63a8
85d0c0ff78d29a2395a915491f7d0b65ef1328ae72278ce0726f0e1efd0b0971
615c1247eba3f9a2e84018cb0e343783e1c9760a86e6bc3d8ae12550d763fdde
b49fe53e314d8a961d15acfc021734efec31dece068f0b074c4e3dff0dac9232
8425aa47cfa0d1d639da625adafd8e1c0601f5972e472807840ab4f08b3c9f07
6c0ab507e4fe8c1ded93418532987f38b0cb8c622a88297a344e4b72c5db60a9
b22939876fa025d419a4dd7a5b787472daec9faccab0c8582dbb3d7763106fd4
99f92834754683bfaec5579b2e3ce32f90aef1dca782b97ee6556e897df752dc
7cda4349ac669a70438e09114add4f6c00bbafed730834ead4df14d61240e1dd
bc749053e8315ec4ad284ba7f832c672d57a1ba04520a64c50a1f3209df74f28
0e9fd58762b7f89af782e5a7e1f8c2ee2592dbc1baa49bcefa40cbfaaa675e87
19e37a2f2e1aa6a853a2c275e3d8dcd0a53ca1380ffcb72731d03bfa27f7324b
7a5de6a3fbff6410cc3061584988709413a57946d238170d3d03f72eeb7d0d03
4f06c006133020e14c85974c2d7fdec3a5a0c54ac187d7f30bd010c9ec40814e
52458566a6f8659ba3729a20550630d5df8564eaec90faf626a349a076ba3d74
782bf1370e07691a250d908f1c28e1e94e4a2b98db3965c666245f407da2e0da
b7c2b711dc1bf213dc92bb6f20af1fd84e95462125dd1102c538f2e8c4925cf0
9f6591195cf0fe8c5d4577a9c725be624b0e68ce19b18cfbff6964baecb81021
f72d4e758d8ca67892a7f13f207651ccecb819b0bd28be83437d136aba6e8629
cfa878ad68828f13a1b83ae4fcf1b01b6ed588ccdc6b4f35615bb12e8a7d6551
4b2cf345deda6847185e95ba723b3938e9124eea08414e882303d2717bd2c0e5
63c9a968aa5a7ad675f5066ce7460912754d57cfed8f5da3f19047390d324ce6
8c0ca36957c4307cbbbbb2b87882a7f04721432fb0061fe2e7884f2be3c6c2af
b8dfa89222b2252f4547dc009f98576cd287a96041f00ac899e28511e058216a
f9953676b728673c76d290c20db6a0a80d4560c14be16e155228f370a9ddd7e6
34a20020e8b484d8aa3e15109522b63619d5316194e2a3d8cf85518169b37802
f908e5b6e403c08df1f10ef7d936d9965a8fbf4ff6447719f3f43c9285270485
79c8d5d6f8d82bd5c8bacda1fe1eb8446ea983a39a4e407857624a9931831b4d
16084bf8e660e58c1b0020625063813fe7b308cbc4a5abe11826096e04bb4070
bfcca5ca666d7249a40a0b87749fcbd5f14d8ca126a995d541e77284efa547cb
11224d36f3d404fd4e032c15f486b3b7c4ad341d72e0371a19d6f4057c7016b4
79938275ed01c67c0a5168d209690ea7f11d85e74637cc1252d7792097d66e5a
2657655e25b08a258c74dac708267714bdc0560f050ae0a0bdf491d303a369fb
6a6c215de1504ccefb53719a8a6ed922d4a20a30833d0acef730aad9758b7f90
8f956d7f168927529db09e6e6d49014ff298c33d8b6273dc1f33e4a7c1622893
a56652a2172b908f579c9b5f4aac5cab0d8ee4511b6def57c7e2f7da140407e4
f50b7a9a143c7d45c0897a45086f1de704300d99a040d6e47d2750ed0af38e55
eedde815f8f2c5c378510cca9ded429cdc86a3f77c4ac233add04b4fdcfc827b
cf49a4fbfb31d85fcc6f2d6b79180d6e301da587439f9fc86f44d2fb9095ff56
58be4fc6a9ec6e8f3febb1deff85d26d28a73b560bbae47966837a66d216f29b
ce29945b012dcf7190b564a77ba1fb42083fbc2265e03098cd770a147946ebc6
7ce2295cdb0a7810a5b5dbd409fcc69ed708750d1a077b9008340c72c1896869
17512bdbab29aeedb686e1f01755b8e735ad9ae3ae75564e107c86db10f65686
eb43582fc07f6931d64fe08c04d6e55dac866a5715085e78c96ef2a151052e17
f7131b2f1acf3bbceaa91696c883003f43c91cba90b80a7695115794125ddec5
6bc2788e63549277f21873df6e7dfb2f79dc6c5ab4a82a055fdf50c6ab108d62
4e757df5d1cf95c9762182705e841c79a3cef703cbf5a84e2f67471c11673a95
3cf0f7bf0fe946a1a2e48f8c105667ca7a1cf63e1f80b97edb2ee82f1a18f240
a2003ebda2c2f34ee2fce94cdf39b0b30cad6be45021422bc79915ba853dc143
52f89040d1f86f65205665aa7f4292843e94852ceb2b4692d05c362f81c920a1
56562f3efe75be1b4cceb33ec6625921f69d56c5960b319d0ac4343785ce9fe1
3c3db6b21875a5ae332120b807be8914a08389971eb57d0b84a399d3cba522f6
891d9474506f2ad4b4f4fb119272f278ccc8267ee2440e0227e8b0a44f0bbb6f
bb26ab83aa71c67e887fa176ecbef1ebb36ae4ed91b38a52a095bcae4e23ff9b
080bed449dc2d97467cd6fd4f3b931a398b344a804b7ba56e7cd377c13d39d4d
f09ecf873a3c15b2a5c4da78b2d60cf979ea8c87d4c2935e44e22deebdcb5c25
e368e69c652d20c4ac25a5c3ff43afcfe927d6358eff84be3ba3d636fd416384
9226cfa10f0f48bde19c19f931f315612e1e2a76c7796f5c293374136d718d87
97d5ab9531054b32ddb7c3fb727634aa9133f0df493351e7d020217f278e8c2d
aec82224a12ba38ced73dfacfbd4cd23f7a9bbf07dd63c629141209e096bc880
bc3c3ca4ce22982d351373906d3829546169f9ee2d0614c53008b195d2b6c748
7d0fbdf1d25199c94d818779823d49694438d7077d2098603616ff8f8e132c75
b1d29ae5e1291f85494a73d756318be3bb65f594514425a613b16416b0955823
23950816540a53b66585c6559381bfd7a54052da3d63960e2a00964343234f61
0cc17375e0e1f7c3bbb31a5256a7a29c77df830a80e04bc6dba6297ed7d801d8
ae9a0c461ee20fc53f2c1d8ff045cfd55081bba03d6ea4b8897427b72cf147de
a324146371eb25cef7e4ad57b52b4ff9aabee456ecf420987964562d52ab538e
269b51eba25bf8b42f36f8b3d9c43111735bd29876decabe074c0de2f3e004e8
2e7cd9935dc76e0a0814573b9630abbefac20692e1f33e66a9681560010b5217
d2b6a97a0149ac799429ca75c6afd62b4abd4d26d01f037bdd89387556fb00d0"