void-packages/srcpkgs/firefox-esr-i18n/template
2021-08-11 16:16:17 +02:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=78.13.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="d6771fd4032455f588b9a5087e6724cbd7dd0de5e2ed52b9d8c9628e353bb485
efc1b45b422eaa67b50515fd9f4c7a8873a41c173f34ea81f794862760970c03
c813964ba0acb1a4171f4b80cf0b35418632706e230a207bae1fbe148525e2e3
537ca4d87f877169977bf8ba6aee00365a675bff20c5e83ce669cb32f8134935
e0074c93c0e5fa6c4c32e3ffd71ae049fc12d68b34807b355e8771d23786dcd2
f08a6298bb4020f42c3d391a89ce4fd098169be2b7c7a9ebee9845f201d050b8
58f41c4f8b6a2cee01b31dd291ea775f6a129bb826e60dcb681c16f35cb043e0
dee160f79cb2249fe080f8fe04b453a1826a4c94d8487ade1ead1d31c58c165c
5af1c6f4aebd4676fa9398105de1382def19ebb8892a0aa296262b0d0bee6766
2a25dd41a57a8e845f24723fd14dd8783911b5feae1710fae35b5b53731bff90
8ec853bd3b6f775c25283625c035bbd1a2e0d96582e72a74a8785fe2eb0f9f05
113a772edeeb034479bb19e8a56c4a7b53c1bc4739215603b2ae4f2f2b72e003
30ef44adfc325c8ae49235807988a371b857c43f68dd368a17e3525a93e2f8ff
644f93276f6331465c87e1ff4817d04da235c2d9f291556526231082739d775d
d0438bc18febe594785bc32aaef68c7b68a9d2deef27ba648fce91bcb7b3efb6
3c17346870391f7f74fd990f5f583fe1d79133293f2bb1dcee499f2a73f54e35
95b3a8971fb5b56bdf75fa2a0d1d75d89bd002e741c049b9ea0b6fe7ff1d4781
9d6b44f05a63a6e0a2fc5c6a05918ee00a9a58170c2f1efe34405024f588f7d5
061c2217363932fdd31d8a0073aa28a2354cb0e46625058bc65ec6e75685fbe7
3d78cdd992317e95cbb24e968b3cd08aeefc7062d5d91c792dc996926664aa6e
b374d959e577a78d06bfc8a126de96dce921d6290c06a297e6eac841162b85ca
fbd04b0031dba202982a73269763a142b6b5e8068f199b4c7ba0043eac298b37
5635a2d1abce646a3ef8720930d6a3a600606e77e1e83f30f21bee0b2a0074cc
87a286c30c04c7c331944ab0133d5f5e8dc96719afdf1f6599ead38334b69b58
03408d0d8108ae45c0c98985849ab9d0b658cea1276fe66ad019a1d8e0237371
4602a24cf9af22c0e8ef833423b1cd86c0d14c283d8caa18f3a4d35dd2d433c1
79ee035d4be25b501cadb2469fb2c2d2f49862e88462b5ba8dd983f3b42dce55
e1fe81a33942eaaeac61576725f930516eae2beded974cbf8156dce8bbe06422
2fdcc6eec03ecb42b572322e72bb3724224b007a84eec5c3b55d3ee41af0134a
1c5e983d78157033b329ebf9d65223aab783acfd4c41ec1f713dc9efc7b3a401
c7d80f642ab2a6d4fe25e12248d3c2e60554ca34c119f771be99c285bf32ea0d
00d7f81966e6e029352067387239982c4483bed13b475bee107a829b61d95ed1
b526fd78a5adb7713ce80dc053b90c2a96c2805fe2b03c91e48c89d6e24efd85
6a42e3e608d5c9c667bee2231e21c97690518a46801d1d93e5c3a954db2a83dd
6fa55aeb7f1b87cd4288e356e880aab8b5d870b0487c33b972778ded31b8c2b2
274d2bb6b6f19d7bf6c7775a9e683fb20596f965db74667d9fd883d00b74dc9b
da09351ec54b5d25a3998fcfbddfdde037848d33a9f896e31cbd0f82156fb565
cf26c89b02c8c1fa7e501241a833bb79e64a5e6726931d487d99713712a6d92d
033c75978c6d1bc11a8680c2575be2360efb52a2df1794f7c972b28a251dd5f7
ea26bb3fa07b43bdc1ee871fa2a5af7d716cfc3189218453d0935cd17b7a7b05
6971188bfcb3340f639491a632d70ad7652d7fbcd7cd71f0410cde1579a50fb0
ba6b27da759a9f49aabf934f9a90475de8425f1a35d95b6e4e5ee679f792ff8e
9c8a13d6d32b837f7e1ce19f4eabe6bf251a425b148ca9a35ee2d0203a301e06
9a1b8a9958e556bb2a1ffc3b5adeb885f6f4e666772bb0f0653475541ec5a6c1
7dd399646f9684e6875d58f174bb619c5d76ab16227e36b0c0e9e2c541deb55c
11a4694ade358311a0142c58b7cae91cb9f06fdb7998cb9e5ca48b2f175ddbe4
351c7dc114476d06dd9d110440c7143da0b89388934abfdf7879c727403262b8
6e55baf505876fadc1a0d544b2015116b4b101817aec35e345bd0b010ef84235
c06fbf6b7333f03d69a851e38e3b9dbf470b9009a92aa353ced48f59d989556e
65f82d867f308c8cea1133e5b1358edcea71e32bafac5e297bee89448dacbf48
b17ebc71e34baad52de982ca9c2d8804538f930d4a832cd4f63c1f771943d79e
e22947d02b32066329c14044be0387ff93643ae0058e3c8e95336425368e9a9d
3885ec0ed6ac6a35102f3352539e4d76226f6cb4c0fa6a38bbcd0f2ddce2773e
c1d05d870a8064f542d9a4348cf73c7a503ce795d6ef425b1ed457f8af80b26b
081ed95e41c39b7b93325f9a78fb8a5e9728ba24267b57572b9b9d20ef878d21
e225a51d5265955eeb85d4664e66bca5778651cd238c0ca6dd4ebfdec720ec49
93e8b8bb4cc6bd9dc528612ce284375b186ccffe5faf8dc85119e11ebf8357d7
044f2502806d96b42adcd151ba96e97727b26cad776abe1bcfabc65a0a0a0489
ee6ebc4dc9f6fb01baea79ae251761661b1e7e10d262afd391ae781e864a25ea
3b1356a215141dab33648118241c8e16325a490be4e13bd699c36392cb576e1a
736187c7a3e475f4d241361cb6466d83ec8d01175bf0d037ef602d41ee5426d4
9e61f44d5064a166b2b662d7ac796470431aaa4679e6fa62e6899b30147abf51
5d6e80d1548de83f923503c8412b1fa00db28327e117cd7ea1b49ee2563ed0f6
e63d5b95b32d80d5e126868512d5424ac641daede865b886b32056e0f2b07431
2e466a4eaae6973eb317a28d577ec01cd30b0f129a8258421219c264e674d266
92d27e9d41b2f9f576e8a9200425d817d425a366beb878c692abea457e245a5f
aa18501cdbf8c9b218e918da3f1e0fac4abf33fbc6a19d361bf5c2ef183d7fd3
385a8b9cb52ece24ed07e1bdbdb414b8c13459e416e897729a1a58c89c916087
3845b03f37e31bd59e3b10b1c5f2f3bd165f910cf6c339765dd43765bc01e9a0
890516bebf4ceffe0de49e03fdf6e7e0df34a0fa4cf267a6a61916773bea0cbc
feb64eb3c3b14123f5d3e1a6601c268a5df82b340ce150294a8dca7dc3dcfb3d
f1e77a0bc3a2fa648b76801c3e944d0015331d2b2940bbc80910d705eea76abc
178bc9dcf64d514808944acd0e805cd25f7ef8a97a7ccd888027d0d9ceb86790
fb347133864a1c88602320ecde78e7927c3e5c77fd5244138457cc091f4cc3a2
df1c9f2ad89f65ef8192e7a7fd1b9ad30eda0e07cb7cac8e47a43c350a99df11
2c10e714b89705cc6afe7927e81fe15607f76ae6f15fe33b376dce292c832aa0
c4da570a06542f567d99fbb3e11ee12b34d9f0797656e35575581116702ac3c3
c9280dbf64d9a20a63908072a985648eeb4c69913fba9bf23a7177c4e175b606
d3ef20d664fd55302b040d0762417b204d318e2782e3463a83fe7f0e4550004f
e1c20282b48be38bd0d48544ff14da6b4467baefd3f599c5c3a21e18d1ba21a4
a48615f1e6dd69f21a47fd68f178f1bdd689e89f8762924a748a3ff63bef5b51
96fa9aad7467c92dd590a0f707ddf0d1555b252c6ad4c008451d9656f5d85dc2
04e3a16ca126476de4ba19247d3731b1335fa79a8c957f3675a9fa338a9d1af3
fef002d0b3fb82a1fc2993286e908d59502c4d816518ad872537ae2f6e20ea30
066a70255297a3344b801d2251fea245f1712eb7415bfaeefbdf3c860d7d6ac7
1f67ac24fd8d1f774aa796d209c87c7b09185ef98cb2d8ee5ece32c3177b38f6
0971b746755d88008e9464e2eb4009096e75efdb27cde98d8a94768bb146eedb
5301a1ea1a9ceba97976dcf0cc5e34bb126ef2d3abaa67fe3a119bd7c2b026f7
a38fd540e3710ec248d6f193549431171f68becd65832e58061e3bed9720c683
92e70811f1f6a5bdaf0e888bfc77c5755c70a6889912d24b9f2dadcd417476c0
e071113a40dc1780aa9d927a5f2975cb4fab5544c81b274e3aad23ad81d3a027
cdcd024670f48966a03a91f9d2e6a083c1b24afd93a22c1ea415d762a573bb65
3eb8744c722800bdd172eb20274b57cf745bba4bcd55dacd62d2acba303f4ad9"