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

231 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=102.3.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="93dd0334d275731ea4f867500111fe38058e338b31591f8cee74133a55ff4d46
fa0d0c3852e338171b763dd0d42543f72a0f2a0da1e329a317fd40ad4f046ab0
f92fa0c86aae4911212d219d03cecf2243e781e166dbebb87e2b9872832458d4
da30027303889ab80755f0d5cdecc4c8d31d4fd9be435fb8dc579fd715741027
710aa262aad3591203387d08c23aebfe862d64722be77f8fb768d6eaef4d6f09
167aa89e3706c5c1e54694c76a7d6e10babf5da1953cd1bd499483fcf2209cc4
1ebdaf2a6645a573dff3ad5307a73ad0cddef46b46e7ebd6b92a80a362b7d5d3
de20466501dcb78fc5a6162107e783f8d631a46c726e11222d467794550f1dcc
8f14022666ecd3b60cd8ddab16aad96e36e5602c93146725d36de24536854c65
56303941a3c8c955a07976c147e3f2df84a2829855991dae3b578b6fce5ebbc5
6e169ce1d1eb13272cd975247c7f287ced1cfd579838c0f31ed7fa4e0cab310a
a58bf622501b6b9e5d555ca05f1072daaeb65b4d51c59c6d9e1418b09923e4e2
ef21061edb855fa55dec91b160593fcdba0733659e919b258268f246c470d19d
33adcfb41d9fc8a19ea0e701736a623739c26e444ae3cd08ab5f581f40e0e242
258521699d7b19dac022e1b0defe4a2321e8c6ea277ebc19ae4562225a0526c1
60b9343b5545fa4a945e24a36786fbb32fdc59eb4c30ead5e80797b3d73de977
d77e153f50de3c70dfb0fd1497a8ad23067b508c13fea8e5c02aaf54b6b73730
bfb2b490475c4d0d49255eb9bf8686b10beba3c03793c4fba7caa71fea82c207
b9967ad09e94e2356dd00666a3554df9f9e47b26a2a42fd0cbbdadda88c2ed48
e62a405e498600da9343066242e71ed5c2009b36739abbf1f2b291e25417059e
059e490f8553f3fb2622094c7e7d9f2f6e8f1e6b3d82ec9aa3f4440fb45559ab
f85d72d646ef012f1cab077850769290507e4a418cff52e861e12503048d22e4
60d6b1e0335d3a614c800ab4d3ffe55d121c6de128aacd3b8a3e036319f75242
dca5484a94569162dbe04d9af94f3e461b32e21fcf2eee000ff151dd3b7797c5
cb092c2a6900f77c6108688760867e2a016c70ab27c39ed28a140247c1370260
b1ffab35b5b5e163512148b1ee4e4ecf359664f9196328383ee36391917131d8
ef8dfd8cc78a2ed55c9082236babfc29f90f0978864aef4ebb71c52c98e73702
fc1c61833caa0cf8fc25dc314998f7d9a3fb282619cdaf6441caf17fc798dbb2
6fe864c9a8bd5b3f75f00ae920fb9959973098df801b290683550d2891686415
3ec10b9ed9fb6fa9d1108424f6c18f9209fcb0b3f5d7ae515fa8b7895cacd8f7
969bbaec56cf727b1f4113d9d05288d4e60dfafa71ab379b2df08314812ab59c
c762c728c183b8561ca8d78e9f565c3029d90dfc76ce04d266de614bfec7d0af
bc0f1e849910b78a790b76f630dc89e86e807914e57464a916eaab08fd865b9d
55b07e5d61ef668c7e53b7372eb9649c622efce1851dc11cfd967501a76afcc1
47f9f03ee0afa4bf77d1c914057b6b17e04bae12fc05955e26d8b300872bd4ad
702cf7be703b0cf9e8d6823a579db48ad45dd07e5658237b6dca2ecf31d797a6
cdcaa5c9bed615d42c30e3cb911548e7850f8566dfb76c83eca6e7e2c29d2ba9
09f5abb8d89fd2e12e92a8b4898319ce93708418348ffef336d4b02809fa0cd1
40315720e6224e3b97ad4c82b1c9e2705e3e1d511967db8184fc04634402aa77
b12abcc569961d2199d4e6bdd898d31d343b93ebdd1a5475f2241b07391aad33
14cc330337b33d427314179cceb51b11fa81d50314b816264c9029fc09b3efc6
38363be90fe01ee02b97d2eac9a04bd3dc732099b78561e4cc73b40c4980a34d
b662514661d2551ace400614c908bd5eb51298306cce801f88ed9e5be2b3c7bb
9a38652bcec925b3c04694cae5e608831cc78f56ef22eb3c8bb1642d01168d55
6fcbc6be1336a78a752e51aaa48b02e64319699abdc6965519887426c496c545
7c0afb7fc6c12be340de564bbbc73be771dc10e8798f1fea3b701d5db41c34fa
1c50849335eb1b1ea9b44047c29250c1bfe55330ca7e9301cc487c5d9844355c
0144858c69dfaf30ab053409fdd3911d8615bbffd1d684a6372dcbb38a39a2cd
be7b331955d522cdc8f7eee74a6e97b5cda0945fee53604b187b32620fe04f7b
c7d1fbbf614622e0e5cc347cab61259bd86b1e31783d9edf1fd2afa7c753505e
59243fc2de6ce42e4770057d9c74c3ca85baebf1977e9e5b568e8bc6adffea6f
1da89fa826e7508b84cf2c535d479335bc890f333ebacf412c6792f26c2641b2
7c0c56550cdf663b94a6f7bf5c71dbe8a5f0968564d2240fa59b79baafdaba3f
305e398a64443dd3bd50250c5025163fb1b7320f3d134493b8fddc19222506aa
f37861203a640b6b6ae00e499a14e71e58fa06483bf223baf1bdbf2a490717cb
68c2db3b213ca9c586e78548170d5d763d1775999277028acc4de26f94a396d8
2c28a6dc1f87fe124b4b1504ec80a06c5f5137891fc599432bcdb4a0d5aa6e41
fdd4377915ef22021d7610cb5a9d6c91e53ac16eee9d6268a7c4c9c359a45a0a
999f8c2db0abf974722fc978e7f73457e674a8fca9b4ced04e92e163fd8597da
5bf73780e1f953f34c2367f0c27ca717baef14aaf645c385529c6c42a3a1c76e
841454849679338ae40eee0d7dc63c437dabd676aaaacfcf30daf06c9594c73c
8b3e9f1a73b45290567a92f04898f3013b2be985a33de136040f0bd3d8ca3874
b80d180daca2d920e86a911566fdaa1dd1fd8fb3870a75e0af4e208a05e97e9c
63a88b6b2db14037f943b7bc28cfd41c2cb29666d34d4cf6c19266f8323436fd
04494a9b11b65ce2460485251c0bb9076bafefa0e0961f54a22b2baf9d237d58
ab910c1330b3b5f82383c3f73c46f1bc2e712fa00cc6ec6e028cedf5cd578bfe
e6d60b1a0ccd16236f1186825eb758703c9611b2ef20a6e88b2d4b7052411bb9
7429a4cf68dac3d6027da9422d29822f1a6853bc668f23849ca9e579a8bbc29b
4157a11e193a93349b92c1d0a69aa1f0c8cff0707287b8e77dcc61ab9038f63e
d56c5832607ba90f2c4a16b1cfa65772e0b3cb9d9c987a2553179b033d4575b6
376bedbb1e53276df0daa64746da6022bdccadf0a3efb2ec58a284e3d877b065
abd364052a3fabe0412492165ecd54e39e85eb00d93b0ae1f451ca28eab5cbb9
16f6d9e160fecd9a84fb4f1486e5b9c1c520266a052f49bf6fa1721c6a69b6bd
39a24d202c440af9d29795f64c82d03d85950efe09628e497a763305e60d806e
4cebed2c500946f17df5c55cfd707fc49a00767e6a80a725807788c3cf059f0a
2d7a3d099b7840cafc1fdebbb168b73642cd4bcf231d580bc6bcadcf3fe2af0f
df625be3dfdd15bc654b39a470cd1599b03405f1e25874124845c21dffebb4a7
bdd2aa7cce4727cfc2c4da1deffca9092d6791dd65410b77aa6040544ea345c0
ce2478915b5541488a02a041d70383b554cbc6146ddbc8dc5a061275a67f3448
a43892fdbb349a68132f43ffe8a574ecd7518fbc1115a01d576e1825d0e39ba8
d0cee55ac73276aa173b6d749f83cba999d61f64e11a9dba648db5e6bfc41b64
dafe1fa80f65d0acf510e229cf7337b48359fd15f4a4fcfb5d172eb6f32c8def
ff8197abcb285d250b407b65f06fa246eb5a9d8eed19782baeeab8bb41f28d3c
008830ae0da7ab9c31c16eb671c5242fb50eee96b2f8f8c00d95c0a51bd2596e
00fadffb1745126d6f073327eab5ef0e8bf82d7929edf0cb1e34b4941aefc90a
b2a1c6523290ebc895c8b263372c86cfe9e95016fcbbdd1b8964fc456ff0e855
1054ecc9013cb347b77e9a80d97fa89444e44f667d5d758beb8b7ca5e9da2b12
c6736dab1165deb33024e6f33fedde79f55c6cbaa4a803ea4e41dec68b33399b
5aa0239328b4656fbed84dbcb4d8cc24a8232455c98888c064fa62bb927ca75f
aac291540a7da9bed3eeb703ad975614f41b6f76e15ceb3b066000773ca961ab
fcac28b2e02beeeccddc131da2a12ae9344a48669cc3037cb6f0429936af9879
693cb3b5196a0276c039497bc5c6e1c99e376959cb1a9802ffc8f08dc9d32c2a
d962e094ec48a8042067d50d2b22b870c94b12ff35afc58c85bf2001fe98da9b"