void-packages/srcpkgs/firefox-esr-i18n/template
2020-07-31 23:15:00 +02:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=68.11.0
revision=1
build_style=meta
short_desc="Firefox ESR 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"'
'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="a96b2eab357c1d3ae79978919d78227e91427464ec0d506276e8448df878e4de
77b3f295c0c8e331deec5ac81c4566e70e686e1134569e3dc383406634148642
dddd186a5e1835778736cf1eb6254dc6909b0fc547b312695788cc455b52aa9e
a59a86cc1838461ee51c3235c617ee28bb0ae7a4422866b645f67a7a2bc77673
52acf8999a4f46549ef251787681f8db62ee44a1653cd1eefb82b5c8a7e3c480
02d42d95c95d4b83716d71dbc8f9eab6d046540be34bc65360f16deca54840e8
458001594cf5402dae30241193ffcdf0f727bc0451b46382cd12939458459258
87be7b1c87ad813430e9f587315f1371f21f655ecb7f6dd90380741597ee818b
67f628587202ffef8744e2399fc2e808454562f6e68a607c4a0dadff38f68789
27b99f0e05d79f39abbb1770190f4a3d049aa527bd02ce9dd6815a3f73e3757f
4b30e8c01fc67bb11779fa50d8e1b2c93d6a2a936c6d8c77d3314df0cfccc131
45ebc6437bcc217ac54b0bf380a2f3f2e6cbbeada8d74269a760ae0d7a3a47da
139126e7e7f6c78e23da66dca5441fc9c0c53eca1009cf58377044fe6fdeb202
92b1a9b9465237c6423aac78cd02110354f7a4d4f89e915e045e3cf224323c51
a0abce87643502f16e3a4dde825cf3e7f58cd75f5a4196451ede813b799611c3
8faaf99245fa5fd7a8ffe0344a6892546735c19eb9f2c6ecc534fc5808e26aec
9317185ea24b23004971de4187b2561d12c82872e4aa61f406bc02d5e83617fd
6869b14cf69508cd2f34cc722b346f30db0ec3891ebcc31908f69a1f307c8d67
c153a54ec2e4ad4e817f8fa91d29a1698c11ca9ec04e494e1d866c7d9842ee8e
dfe8300b735d2141798f8255d3ec102699b5b127bf9cfe5860784220ca0b6055
fd57e1055a25fa1dcd5a91393408dad91bf0db2054c4bfd29ab47785f3156599
a9f17b51896142082b3bfdcdbca9a472d95c5dd12005f2c3ce346c938d57ce7f
935826ae44cace20973c9ee32df8032fa95ab82843a92c514add0d8c44fb4c7e
4579dd24069d6414eb105d58c1789605a0ada438504f4fc14c724a4ee78b3726
f69ec189d7eb2a4074a9218a9b87399f0504b8790e8aab98650120acc20ca184
4164c7f23e13e86f6c3e3bb1319da47a51d8b35b13acd2e8bf1c371d6c8a6ec3
ffac444bc57d684f0f131f93ff48ddf4db3761905fa36882659a380eddaa1703
017049781b08378ab45a8cc95efda95e8dc4d10dc86d26efaf8209c51c556a0a
5b7851dca418b6cb08a3e6d4f189478de2fba5869d559f82740eec55abb45f93
ef8c1054b528afc780b916f87b5038c0d2baa02a4445f7ec18c11f316766533e
ee81934fbe482564a28f5e4cd44d3596b5f3a3926abf4e7c30c52918199299e1
269f6ca41e1322939ec1ed68a919e84e990cd431d7dbfc2bb67d3708e8d89bd8
c29406cfb4d94e98e15ec5f0fe9f9cec52a6e251865683cca307ff562b52d0a7
025c7ed2fec33d06eb3cca4b7255d8b133cccb5d943d38afceef93ffc494e9e1
ac70f1b3f164798e4c95dddb81e45ae91f40ad66b97cd443da94df68cc7b7964
b467e26b8facc706501ec93be8b23c4fbc16b1fd01678f968d591951b7dab19b
cf0b4e1f2c0620b19917e616ce1d94da9b4361e1e642c080fe36580911d61b18
fd18f16b746c48224e4721d2a118fad44c598ca851778331aed4bd4355d8e982
064fe64bde1cd1bf2c255297af730ef0487fb193d5ca425935fc26e6e46c6733
06396fbfaebba29ffded9c79942e7fe6d988d1e0e26ac6bb3082dc5c1bfd1370
ac2d5b18284b3702a3b93e09c73dabc42894088bf7bd3ecd9e1114c882ad88be
8f96e6b7e4be985ca90e5a378cb90a87cdef5b0ef36a64e86aac042e6f4dce74
ca38f1b8c8198150986e35264d6c8a0f56c2e4b694738d926104d360d1244c1e
bdb3756655fb54f5fb3feca19dce0bb6a7a98293f0def9f8855dbd269d20a259
f531eee42bb19c32ea1242beb29147e064da58caeede025510d8b3092198c62b
05df51330571877fd1ab339183e6d68a5c92c5a132e109464b75dd5d4879d969
8492216768d7c008a224d5831b47bf0ef6a7ac19ce21b0113ecce921868654ca
adea068ac99f58030551f1a080bd70d946c20edd9000c554f46289f3ea75c4bb
0d909de2c7320827eab604e697ad3bd89adfd55c9e8ea5aabc2e3938f45025bc
6edbe0259392b489ff808174e107d01dcaaf42b862ee3d0b804cfbda1ff636d3
4fc4c48637a0d285e85db0d699a62a08c6cc503073b4201b6115c13f9c7283dd
e6fe631141ce94e6425e4c745fe2b5a2cbda685c5492ebb3c614d09433c455b8
6f0730299dd9fd362c6b994128bce064bf215fd27f55a673fda6569bbf38a4c4
bb2e2cc0a0e4047b67b28596685b228c69c85a6a65d37c2c1003d7a9d8fd378a
8640f7eaa4aa157ce94c951d9eecfaffd0d603bc05ce95559d90042302c99803
2641ca0efcde0c92cc2ad4ad6c65fbe3ab56b711d88f26fd4e78c18cd3138aa2
34cf05b4d96261da6e972bd64bba273de11b24b3032de1bdf1777d69d968b114
0fb47c0ac1aec79351af5e06782c2ba1afd26cf8cc37505858e4028261affdf0
c4926c88b3466385c6040378e0fe9f777536f540e01b01f3d70ee514ff3593a6
b6edc8d2a7f9ea08ad89d05560351d5dd90f1bdc73c5ca7f6fc6e2cd6902bcd3
5f25b4cc7443a6e8b30a4ffd8233920b2b8e4d1a6adca465739d7badd80f1534
81248e707ced39e1bab3d28c9735dbe15ab7e8a9b563e887a65c6e995045bf17
5fcabf089b74c00a4864dd77191fdbc8c5c35a7b748c96834961d2e2c1d2b15b
ea07bc5f78c771e803b00844a49d7f6e45abb6624a106d921d7a0d4bcc8ed886
3c30cfbb658332f44a397e91da7aefbab02adb34bdc534386f6acb47e5eb5c18
ea4f2864fa6624a43cc04ad8222256a12b6c2aef877ac811f8c2f64097439006
0bcd2198157a72df46c6702cc1330b152555341eeb4f046f6e7cec63d0715802
2eca90bf5c6f0c762fb1f52cfa7f0146fae69a85bd45080066b8ef3514dc24e5
506ba2747f0eac45f42ee729ca5bbc41931630852f2288244233e98cd7c9a489
de98305ce3526749f4cac6ffd47861a3cad7f2cbf25180471c68cf3280776edf
4a8de2a062d67875dec79748e4cb03a3881e378108ede064d5aab10145afd2a2
c638de4dc72b87dab2e315b2da71d7612762c4d483d75d2feaa655e24db64241
090918108985a1ab3ee8e155c97e6ef4ab7b7b2613f4be3388bfb4758be4e503
4153ffb1c211c3c45a0efa9700c0908544f90d6a848f5096120933bfd94c44c3
96d86350fd693bf708e4f4f7de238e71e0b90bcdac3205a3a25c84b13500bd99
ae4a76c6644585df1777d46ef10dbcbdb35dee0a13a45622bd49ad7b5eb996ac
ecb6a93d321be76717245b6a651b96123ec1765f133779caf8a43b38827aa892
51932dccdd95a740fafdb2873f56c3306d803db5a796fd8379d986d84fd128a2
8162375363e6f1650230bc643e2bde1d0018b4f6cf54369e0c59967ad5fa4a97
72c79a7c65a637cb918e999d7d7ee13f4736e646512d165371740862e1e943b1
558887a62a2b09636c5c5f8e7ed99b018344af190ebdf1a6d71548cda11d032e
b39046f78509d308072b384511725776d9de7da667f12bc6508eb6c39f843c75
9038e9e671846f1839fa3b4794f121e546ce544021848f933c239b9917a16c2d
e238909d4f9ab35a0f1f56cd85747b307626f9713c3899d6497b3e1f257f28cb
220793d97e399aca5d5e82bf159eb12b7acb6d974fcd693d45c7c264e85e6548
ef3f9f02f67084fc4dc4bde464002502a176cb7361813815c5460dd94ae0656d
7baede2ac4e391b60896a0a02242aeabfe55ce8b50e7b05d5b77d99dda6b76e1
5dec1a1452fc2303c655f153c19d675ef200f448be4b0c2b2b2d50244c820b41
88ed2511992f45b930922fd4bba5e5ececc761029e3d92cd092d5ed5f66a3030
fcd8e1dea4a1c33fd72b096a61712f74a269ab334bf93653b265ee9e2871d999
4ec2d6697632bc8dfd294b668d514deb37efde5414881dccbb9a280fa9f86ef4
6c9aea7e23d20cb9074dc4acf8936cf249eb5b6e2c5ba1e4eab27267b41822a4
5c0f5c8cc336e73a98dd6b22bc11c418e2ab33bc95ac5b7c948ea4eba1f1a7e3"