void-packages/srcpkgs/firefox-esr-i18n/template

237 lines
9.2 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=115.0.2
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"'
'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)"'
)
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="512101e3698ec7762e252a96a1c0741527760c9da91a9780a84950d3319da444
7e1b92e6c88170378c8ae99218b0a47ae0f65c4924d8364292f581f6e8d13b12
b5b4fd85e64bc71f733adc62ed261fd7635323214021689292d7c2f0ff8860e9
d2e890fdd93eaaecda4e7868c8894a06191cb556d513f5581d9e9bd33ac77351
01181ec50d59cd45096164598dd0ba42296aa98017ce1f7c445802f3e5e04f78
f5049f7d4c22a7815f21fcaf7037d7a059ac76b257a812d9c8290a77679ac97b
fbb3ab158c84aadbc6ea35c39c81f9cef7a37ddb392aa4e213d1b3be6c8d41b7
386f10c49468c6b57724596335ce1adec27249eef442291673946b68056d4668
fcfc6504f9661a2f6706149e5ce0a9c152d8ab1bdb5a5c65c4d7fd906e7e0e76
fd6601f0be1c00f8f29800854e0d2f2428b0a0c8d2e254aee5a2ecbf6dd2714d
9c0dfe314b1c19b58f7b66a95c704652c61ce52d60d8c554508ddafb9d8f8e2b
ec48bab548e2568032f2158f822b7117de6857c86fb172db318ada007fe6551a
1b016b66537fa171af17c9d0b745769365e8ea77655d917368380bc2efdd11f2
a90d56289c390ad7273be3f61f200a1ff6715c42edc0a15798f63c00009487b8
2439dbb14c36499b93b333d445d9d97eeefd98f28fe1b3d33bcd74ae649eb847
c05cefac16b67f291219bdc297179f51da8efc14419fbd6dcc7f299bf32e6685
5fdbf38758162d06070c6193eb0ad091b8eb84f0aafd31812a1ec030bf1ca9b9
34d8fcc272175257785dde6e292185e7a6f1348b1a2caaff91da94132f1311dc
3b7758c53b19c2cd2fe02701c2dafe333588bff510e9a672f013665de33b0cd6
a1b894e1f42aba4d61d864c7865e791c3b9f13313118aa866a08282b1f5d217a
ed0b5b05a6ca6b1581960683a178c9cbf0d7999bc77359ad28e5ee3adb3191e5
ca6d9b18a2ae69a2e5a5b8eadd488781e0fae5dad6b89271be2d98c7926d4e26
e55033b6d8dcc9c24e99bb8ad93a6399ea0699a07cef6176aca86c4cae0dfc03
43f132b36675de74d1c480f2eb010308eebec0ccda9006c7fe9b5167d9116362
c845879072bcde78ad19c862c8754c86a9a8b2eb8a6c4e871393fe1446bccf46
0f2583d68ba29bbc0c4f72fd0eb5033b7d624f4abaf48bdbb31df899513cb52f
1fb5f0898717004f704693a206dd716fd42bc887017103745e572c1d39f77810
d83f555aa827993960f34d4da2978b32b0065b924e060f65da7a79977e352517
f86a1cee6c6267280f8ceff79cd4b32144f164addc37f327e7cdf3037fa63616
717d4a3e3f04b46134f6568eae4c8aa726121ce92c2215e237e1f41880337aeb
b55629269279f9cf98b07260c9ffd07fdd0563acf0a71ac132b0fa48b027b9a0
4d3365f36ca13d07ad52194a3d737e9a2705f1936721b48d928528db7cfc8ecb
acb79690413b25be64aed47149d4a81482107a1cc4bcf593bdfe3ba392219e7c
2e4f63ce9f0f1d3831ad3f2241ec4e60482f54903f9f9486afd1a2f97979034e
88a35de5f0580275811c75396a5a9b08c8c7606ccd99ca727dc4258490960a99
5012e28ec526a9f880cebf45783f4580c4df60e8f809b78c71499dc6cbc42d38
0ed97bd41625d98304a0ab0149919ef5461f449f5a8a118fc12e319213a950f5
15967a0f029d69b9b56de1e2a1a13a1e263d649a40d35795f4d32bc1157e79a8
7d60d70154f5c861dda1d621c6abc7179437244bd0fc9be1f6b2b5c270c011c2
c8c42f544da1a54400a5871e51cdca609572d1444c9adab5859b6b803f27b6e1
29ece5ef4623881e2aea01930712f7254d92a5f890ae276553f548728c93f797
850215c177a2e2844a6fd62f75b75c4c267cce8ccf62cdd7cf05dc8a38ebcb35
0a89bc81af20e0a45dd3dabf73436022e457a970cb3263e2ef20912b67856eec
dc3e7b4cf895dacc403a1eb66ecb54095b7642d853d9cac7a71d83698fd20fa4
2ba25871b76f0b734bec2b9f5b6aa8fe146fdcda22b60194a3bc32206a6dd694
332742f7a38125b643691a469575094d3379b803e54b6941ecef1116a57ac8b0
e5926239a0cacba25ecc5c3694db54b8ad691e92a5ef4f2463e9ec1a984ec1ae
08dc01defd8e234ab56ee2f31622963d002967ade1b42b964ece6854cd6901d6
f6501e09c21eaf51e077c0c694a23b1d2780340d87323037bb3ed8b8e17f1916
48eeb7e4899d42b54cbe307bd17bb2ed7d3b6200f015c355f94e037720883f29
d412b806ecb7b15106c386132123c4ed02ab2e67af01af5a128282090d1c5b25
9e31b0460139a7918293b15ba4c1f1150f0a7189cb2d8a70a3b2c212fbe7be2c
7591fde70893f5fca393e20a042d8770c570a4737f5c9c5f6bef3217d6a15f8a
7cdf88a003e5df9ffccf8f67f73dd4f14a34fc49f3d42292f2d19f507e437ebc
ae3c5e59f982047506ba9d0e3e2646508afd30eb8ca892aa96240e6a090cfdfd
e18072336817a5b343c2bcaa724b92c51dd335818ed063379c372f0f295b03ea
8d70f8b7a219280998bf6abbbe7e4890de1b77831ddf6e586cbfc2a5959d6fd3
fcece4a778015bcbc46b929b205302e56f10b49f2622124bfb4f9da8ed9f2eda
ad38c245b19e6d92a88bea2371799447588f8d6f6dfa8a0e76ff694410b6628b
8818e614c38e716a1c0fc0482b307c261e701b3feb8f989896697b9503235ef7
d7d3babf5fa6c9e52337ca9e3dd0eca3ed24ed7ee22acfd8135e2d9d76fe9565
caeae3deb819f2d42fb0631ed7f9fcaab1d1983a09c336b9f4c00d0c81be804d
a09373592d9530ee9b24f08367f3df18dc04db382722d6336b9988a8c25fe9cd
b73bbcedd181c149acc935200bb99ad82a0f0a14b113bcfb2a1d9c6c7364c434
c5cb7b9c19be0a87616bba0e67689369f84158d61e26a10e14a793aa552a8cce
55be4775ddd652517e22b6d6b47762eb070dfe016e3f6a8777342cfa8e2c023d
560731186b050f4c921034ea4e398dbc36ff2cacd136f2844c802e6072a2705d
2fa642eac07561b75228ca7bb2723f94a1f8a39d4c38fe9b876813d114c4485a
d6ef2b6af1a55c060bddb1422b2439aff53e4c1b2722cccbf5c77c04de1dab17
ea4698e2715bc9ccb3872ace85706b9e9c61431261fdd64dd277996c2ed8887f
fd5021481f8fc881e57d4486bc253ec58981c43d814d99160be426f883c490ac
0d2b987d369fab7360bb74c8665d5df858ad79e48a79d58106c1ca6a3886dd15
3371491a0dab91eb4cf7c81917877b26d7d3324dfd77d560c851b3d4e9d20ea7
1d9599fea834f47e041d4da319b14f37c34566ea42885e33a377c11dc1d370d2
f0a6f0a8c9bc622ce05b68ba94dc1659fe62ecbda47d349f76794f3935585f38
5cdf6d2ebf56c2f390b8ae2bc50664b96fd4ddc03c3ebb084c3c0d3f7babc347
66b273d22dceb149f425f5c11153b7f877e327e35b56cd635d8845bc1c3a99e4
b59976630969436922dcc235f15fd64ba5a941778b06f422f74cfde08e6dc7a1
c10b5acf667d3fee4ea73e718a703f46dfdb8f0d53a85b05144ce7f2c0d9a476
69717f16e4feed3cef5e3121900421daeeab8b4466721fcdafdc5bb88b6fb474
61edf8f99f081efa300fa7eb94152cbb2fbefff37236ffedd76296045930418f
1c243e3a9bdbddb9f96df63ca657d8600cecd80cf3004b51960671864ca18706
05813b39cc65c1a0061c310a857e285c4393781bea8d04c080a5051025be966b
8ed02c1286edf7b9c74e51890409c6eb1d99ace2d0f7631cda8549505f8bf41a
d36022515a2ac8944e5947b9540767d1fdb32c298a044901a50464d186928ab6
56e105f83f141a835e521bdd91207a1c36c24dd55c21f71324bfe2f5461a1108
01df2d612382bcd75dc5fc029f75b96584ad688824499a64815414665e635dd7
ac1a11dd40935ed97b46e256ace5ba8b0dfd0b1f6425e142e3a9f2376dc4f16a
06b839464a5bcb566aff8cae0b304f154d6c40209e7b9707c691894e9febf250
c79924f2853ef396b8d751d8ba7be74c08be9e491505c579aa72f8161a113843
3b0261830b15de74d6c73af12c983981571ca39dbc97b5f4dcea06f28e527e70
4d8106bc38b90a000a429acc1b3f0bc1cc266d259b2f4bb94a2e31eaea5c99e9
34cb8b63f719b6d9ba185d107adbde4825bb1064797aa79625e76fa0fa21df28
0ce17f4f548084bc66b4c4339d8ce731d806d970558be66c03dc933ec63694aa
a630d74f0bc79258e3ef9ec62643db8d755afafbcb89a3d128fc508576cda009
4d80c473d55d55c5bf34c89d656419de8ed7cd4288d16496b4cb5695dbe519c9"