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

231 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=91.10.0
revision=1
build_style=meta
short_desc="Firefox ESR language packs"
maintainer="Daniel Nümm <daniel.nuemm@blacktre.es>"
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="6b47684de4218749d90a07b858ca298b034a2cda10655941e8ba47891d0d95ed
54852ef937387cba360fb2bed348c9bc3f1153f7242ad5491ca0b85ee6ed7455
de66e0263dd0a2d87554fa1d9a406dee5cb3df1a774dffb8636e1be2bd80bc14
1f4824ad51a662285ac3a0d8029462a3bf12b36eb0834e65b9276e0869115c09
a16fc6e0a1bf251ab19b7bbfb620b53437e5bf71b0e7871ed40ace8c97dbf635
d9057bc71605f2a93d924beb37497195b8ad83501aa4d211ad71106e7b9bce4a
36316a7c4ca844ac3e81b2a0bb9ee4952017c2d2404f529848e280d04a21589b
150bafd02393355567d75bb9f966900e70502fdddff2822cbbd3bbc1fb3fd785
5b69e761666b28e5604d4cf8abc72acf3c3d79abeb7b6230e56aaae775ec225b
b005c63d5e0d933ef1a4193b75a291a61524a939c3465d41ed111416210eb97f
d5a2d2fafbfc50e23f5b68d30fcd7376d127f9f697c872d0d7c8e19ee4538cb1
16f88ec5de39f982057abcf34f17b22c698453debb62a5a18e0475798fc1cca9
84d491f73bc53da4605ee45a8633f14ee5672b9a61c40689d5e3289744a7cb2d
7781b6c29923360fd3a95bd2b2532eba7f92bed29640e0276c161eadbe56a13f
7984904ede35def33ccf73fda9aa46777c673c4d27de3806873d17694f7f0b13
4c57b6eb1cd968ba1eb4b427bed66bab04fb42424d03ae4b892fd3648e255b2e
a80e9e2a6062bf68106ba1d1b8b7e2ff608ce52fa55d43558e7c073ec1872516
2b040ff1d010508760cb4ce4b76cce9e98b4620203c1ef77f87a336ced0aefc7
1fa4f5e59a9352f14aefe0cff8e8c4eed4eba16f4d8dbcec6850bce035301c18
2da0b09b9bf80f66edc6e3e9d5c1b75fae12905b5193cc64a73bb8bd7bfcbb04
dce96c9fccb8c857f8cc370f7f5635b1475138195b05e944782b072beebc8d44
e90dbf86c1823c209def11052995834ed15528dc5c6d3b502ed315dd471a9d5b
f38624c81f2f9dac4f05b9e9d4d6e7a4e0381a279e3b4c53811aeb1db13cd000
221b7f4031a7c120d0ca753d93c41c18ac4f9500ae424c7983e4593497ddbbf8
60f5ceb21287a6786a6dd2d177325dfbcc6ca7f9a5df1b9299a2c5bb01d9c172
308ce25a9a0a9038dd94c2c22889c54def3937d35eafbcb34b75026cf3de3b8f
2d332a6f5bd92017700a15da5fe506612cea03b49f903592fc105fca978cd1d3
5cd35666f54a5ae4e35a1ca4c627cec8a47594da4083adf4f06dbe31c20a7444
1c1252765cb24f6a0206b648d834566aca9229075f7413f9c7deff1949a99c37
002772c46d6a7162e2add4726f105e4c0e355bbb84ce91b07ab02967cc5f1eb4
64ce2c0735caf9b67d2be003b1d667bce5ff614653151c617e4d26e349033e3a
60bd5f2532700ae9139d4d59a571b72b2806e80630fddb5f4444c7d6e377d2dc
2753317b7580ee1a377275905e254084263d0a87bda1bb572537fa75489d92dc
7f1b74d2cc5a9c4c6c7864a62eadef2b3d72c5cc2010f5c03bce3a9fae2286dc
2232c3b9a8f313145967152bf1dbafd6233593ceb422d2c3277d1b4cfecb6f50
c41e866f3fc3cf0e0088681b55bb8489de1c5840ca7dc52d1f4f077b53452bd5
5d787fd6a9aa06ce31a6823b3393ba7ad66cf3d374dd6eaab3648103e826a10b
8d73e01655af7117856374be3669d530af96a79cdb8238bc953688d45e94567c
03f2b133746746c328cb7e4055b568d8e99cea51c845136c3f4446840d68e32f
691b0e760ebe5269dfa4aa4ea8dd2139260fbb0ca38af4c5438548b7c7ee88f5
c63492236e75bf984a1671de95dddc954c1b4a1e92f5201c9b333faefae93035
df9a036c67aecb1ea65f9709a11f6ccdf253451dcbe6b267437c51f422b9df2d
32ec78a51439b02f087c12c6be4a9159826113e83774085e800c37b6d7c112aa
1e44e3ded5aa07d44f3fdea8cf68bb33fd243cda159384ea8b87e783ed5c9a65
1cac44cdec68b56b77aba139a8425f607bac34ae2e09e27ecff2522b16fef44d
aefb4fbacbdfc749a8d5888f7af48999406f207850fafae8ef39c083e08fa80c
753dbcffdf54ce3787a939517b059f11c305edc035bc22f8a9efed6145af6391
6c3be5abaf3878390b074970132c4cba935f7160f365cfa98a07e6b882084bdd
0b7771965f34c890dea0d2290a283212a1cdc0c8c8044ec634622d52eb595df9
0910f98a89b712a40aeb42761f25c763818af05edb5c96e2b6cfba023c28ab73
758ab6ea150702ee0d6203a0f75e8baa595c4a0f3d4cb9b87076f732a0e4546f
d4259375f321b98426885e0b903199dce1f988c74963297bbd1a2aa8f94b0544
1614e1288f6d6ce43a7343586141df5e121cff7f1fd703ab4ec40a7f07498843
3ae5219a384a872fdbdd8ca5d99ad5370e0d8d87d93f5e39e96c5a2dc26736e3
05807b1c17849ffd2a3a63b1e26815dc9463aa3c137f640113530d2662d64116
e4f3cfb11dfac8ec4caf29f34e20a0c0bb799649fd5b534f22f202c237491f7f
80b2b6446590a9fc55ed80a9e07b657cafc5d50294988974747c0e60d41f569b
1b32bc1282ded7f6f0f0979cbce3496ed07b1fcad64e70bbbc2eb5d2a8f3953b
0f80e3b0a9e17f39560b7cad8280e25c0278935f125d8e724a2381102abff783
f259ee2683e525051d6f314d4bae4a98c0482a2a443aaac1160b2e0c1326b931
b9a9eab4c5ea110ccbce20cb88e6652e2cf4c28bfd0aa95907148befd198544d
a5a6e9bdaad420f281ce5fd16dabf5338d48c7cd8518c38b1e101b79b530fdb9
a1fe6a2c7606b0720933496cad2bc959693905db87c3a2e5313db82dbfebda7c
d1b22a495c637d5652c84afe8650d876b4206f2ea0d96751bec684ea63327f98
e1587dac082479821697d97b4d5cb63a8d1f9189fdc2048885d963aea95b8400
6e40a5d5f0cb8794edc5f6a1fae778d89f6dbd97d8a288236d72fa571ffe91c9
33b5df625ae13ec35b41bb350e9e66d9ccc04f4d4d8c7e45020344739881e6d8
e2f271691bb1b9873583175ff303bbaaf05a9d1207fbe8fffc34ec4abcfc1545
13382dabc604e99553c98b9e41eb046d4688b15f2ee9dd12c4f9c8967afa62d1
77133c69968073fec909dbe9e44d2eaea002cb0d0e142125865d1c03c89ed73d
f8998128b0c656e72124baeff45c72013953f8314aa4959b6fef8a1b3039647f
2f24e5db025c0302fe3b696f280dcbab83728aaccaefe1ff082e165276896296
d658095fd2d3e4d3decb8c2cdaa64f02fd8b663ba711fb9f2130ed7ed2a97291
7c28a82ecdd622653b26a9dd0913ac7d7cebe7246f64874fea2d1fa4af354c2a
f78694d438032af3ca1a265a089407eb12b431bd314177672a66338b9bf7390f
ea2d769b90a06400eba3e1f4eec58342fe4450ecce38b1e721923a65bed34337
8edf5b04b6cb477f482c14efdbada7023ff7a0ef584a4c30b2350e7825a612a0
851db60a218c36b61ee0adfcdc478bc051c95e41a4dba54d43594b8f03c6b187
6af72cae7f72ce68c644d49b6a621945f5e8f79119a86bb67ee144585f734925
7b01771078ec475b0103fcc4222b0b40eb92ec64180aaad02f2846cfdfb3e319
0c4df78eafbbe7ff98d9eff03bb258d1d0f4591102147f643ec395711f35d940
cf21434f24e221ce58184f43a582c10187eceb7a71da5d81156cc870d78c1f4c
839088e2f23f6c62c38c45d5f7012513d95034aa5e6ab28307f152dbc10f97d3
4058ae6dd7b556bae2c13bb6fa0c5f16207c6fef4e0802d3d0badae2108a0da8
d2c473fb93f0c4dc67ae18c25fdc414056bf779038c0f5dd25aa63a9a5cfcd0a
6e31c79b9955fd879528b0a614295da69ab26b608275946a4a5a29178a2aed20
852fe9ab16d29f7cf8f443bfd65fa1d522a9f27ef8766ad72a0c22a65450dc18
9411873b1ea01a1b8656957aedb79137f4c189b9cd3e96626c8e503539cf2c4b
5f43106472ae66dc8c0ffc317faba09c2370d4f18837c3cfaf05eb9b03f33b90
30f3f50133532ce379b9d5dd0f7e81204905e8a43a27e9d2ac1a26059e393913
285f615cc8852fd74bd7693a5a45b106f293c0a2d89836e9f25336ac6376af69
190ac7991a8b501fab2654d23b5f6f1e7a5f0cfeb402c8f5fe382d25c2222dc6
2de7676c71508ffbb337bdd8ca68f9d2fa1e30f23e8be283b937c5c4e30c59d6"