void-packages/srcpkgs/firefox-esr-i18n/template
2019-05-23 20:38:00 +02:00

232 lines
9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=60.7.0
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox ESR language packs"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'bn-IN "Bengali (India)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-GB "English (British)"'
'en-US "English (US)"'
'en-ZA "English (South African)"'
'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"'
'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"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'nb-NO "Norwegian (Bokmål)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'or "Oriya"'
'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"'
'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="2cd1c53095f21ab561faff14b1d484cf041cc0c4898f60c3043b6bb4c21b3669
ff8d9b2a466d5baa76edf52a5aa3a6f828f87a8703829f1c1be48bf19f10e4a7
3b78d1575a575f5d5842107afe66812cbe71b4c1da3d5e6412a4f675c952016b
8d7d4d6942ae9337e1e05a1435393f8136ac06a99419acc49109e1f757cf5496
d9e3a0971447b9caa949f71b18826046ef88cc522c4a6a38c4f13b5ad9b25a96
e14f519d04c41196e8695f794e700b88267db3e40d5498e0f1b7ad8697305b4a
32b224e3847f6f819baee493801d4c480c566469332d4dbfb51e5296f2fb8975
c270601b1f4c01e80bdb0c005827d20f5c94ebd227ae2c85d62354a9f0195603
40bc02a06f9e3c9e8b1fa1ea7cbe12bd1392e6a47c7ff3f8ccab5cb6e873da50
7e3ef40f3eee6b54eebadf1d6da5fc72480ef7f253353e513f36b47f724ecc1a
6477e27affa9ad978f3fd533c6c5a957ee35a5df161fbfab73328769f295ee49
d746175198edfed2f9f7f02c36078975c1fe1b5106edde77514e169e775439dd
d465ac2a9eeddf6ae2496bd955191c7dff4ccf285534a1d5e3a73dc69d3277da
18a0adff012cd19f7ec95f4edc4f76d07df90c51c65f4f228a1f5860cec5187c
075fa176ef727f5450fe6efeb62e9157053bfe119c9ebce43761f5b128e63153
e2ef93fe3954eb7d6dec4d699497ff916b392ce332bc45c9d3b30edf1712beae
ae8632159d67e2389689dde7b62ab4f3d119347c33dffe7d6feeac80c272835c
3698ae5029a9053d9f868240eeab2592edb445e8ebddcbb49291f98b75b7dd05
c50d73d900c555edcfdf864455055003040d7ce446c229dc37a76e59273c25a1
576ab9022aa5cb96a5834adefdba577c2961886c9a5ef1ea2463aeb1e472de33
f116392c164a6c06e3b74f9f24f9554fb7ba3b5b1b89d7d549668c30932c8faa
260707e222ee99bb85926afcdc34c6568c71d35d56466b636a3ba62c6828dba2
1555e7e59ea0586d8317cad0d8d81af1fb14bde5dca7c03b1c060a4b0f0990cb
ad82a7fa083967072c11bf69c448af4af1d3ddef608826985773d5376eaa5b48
88710c316971122f940c0622db7a2024130e49d9c2bb3e0233f06272d3077c10
ef6fd96991ce7c3c8e0cde5154afd4dbf0e609a379e8f88ba9a5835be5478641
2898c777304fe736adf3b32c14f26f78bee692af08f233597b97df8b832764ae
f5883b109ba1a7882b3829f50aa7575a45c197ed83ceb4f7e23273d5bb1c5fec
b6ec4fc981cfeafd315f11916bbd152817d782fd7031da30b39d61409803b10a
8331ca4c52fdd4fec57b745e1e95123e040c27a9b80dc16c69816819ab1d15f6
5d2b31dee4b23846befe40bd771a5173d2171dc857a95b115578e916102c7f9b
c659134a214eaef95658dee57af19256f40203a7130ce3f5e50d3d244bae66eb
7cdd18702b0ed6ec334994af15463b388635429f8e9e62c9aed5c87a408c06b7
c5b23a09c46fb6c4f8fb14924d8ed7513e4c15eaa91db332e27f4148c3b2545d
50e4443250ff2c74bbe2e917cc95b174054e043fbb0bae7a3dfeb34d22619254
5d9b26b527852683d97ab2c6373039a196d538d5599631e9649714bc3baab452
c15135ffbbd39e160a590f9b1397cd600a0a80e592848447e753e57c7ccdc94b
3cdf2e8ade47ea0c46ea0c6d56b6462ee6dc8e2f9171642fdcb164b335a86de4
5ced9a48aa6812fd7cfc34497019e5f0e91dd678a0f5916aad7b81ee2f86bc12
1b8286a2bea46152a0dc243b97f70fc6856c82aefd446ec22c3946bcc6ddef33
695ecc34e814c86cc7bf078a17bfe2cf307dea02757dee5402f187fe0883f03d
0dcbb5094ccc147053a31e9144d3a37ff285467ef722fc5085e4139dac15060b
4cc4e2f9941a48434fb8b61ba1814cb838ed3a0d0b2fbf8a428c2bb98c46fdac
9722ce7e8e110f7489be760b2bdf76a36937c998e4f82b5a233d607abb396bee
ccc297f3428f1dd15d9be4423c7e5e8062ce0d3823088845a98af5eaf55d4abf
1df7c40aa22c6e25d2a702db851bcd07b0d0ff05c97dd8639e97136e84f2f3ad
e620b9cf5d2f656c4684e149ec237da6a6a3f41fb2fd9a6e2586bd41593675e6
a1f5520e7460389c2e01b830d365a592da786fbaf1f4b8c6e99391ab8ee3496f
434e5d62f827cdb40eefeac6d1e850e2e437f5aff7be995f0ce20864c26ed3b8
20dffaff02272fb6190f62db17c5a5087ae8f4a8e07da823b483400982cd6b9d
fd47d12f9db268b049bb7445b0c9cf471521d29d90a370f7dd8418db3d0f611d
626aff15b4e7eddbf6f659d3c8e12bb3ee0fd05ced412f440cca1c49c5370838
cb153f7b02d86a3c531c9140fc24427939dc287f88515a4b4531dcbe8a539c6f
5de759a351b435be3abeedda7d4984bdc6dd2c6834e3d2a321be533ec031710e
c0a40716441d799609ab86020cd8aa098b2befee4aeaa2bdb63e6d3151c2ed8d
65fe32fc09065c45e6cc734fc135c308dce3dfeb27d55d8e065eed8bce02c2eb
57fc36361f7b12c3cf1d4f8a33914ae538b36db6caca4eeeb11d0775d9c21d28
beaba714fb64854da11340c4d632c318d16604a6e4e456a6f942909b4564c33a
0c7d844acb36df0e2f2316bcc8f5b4a1a4057e39890d259b81fbd331c8e10087
1cd923e50a2fcbe0ae39fcd6297d24e557697a506c9bf0f431eb1c9e1ab9da7d
affd569f5a53b8aa500d73a5412bf201abafd9dcc1613962a72dfac7c606fb89
8533779659e6868aa923fd27013cfdb034792d1626df4154ebcbf2fda479a19b
f5d214e72e3998c6169ccd6ce6f03e7a460ef0cd696c85a2ac2f54548065aeb2
f75e64ea1266948bcb47a339b9a22755db45e395e6f3aca53452c069312d31de
b4b6e994ffc248d00b8773de047f8d5292f1c6661bdbb8715992461ee00d9607
7f6091de8afb43b534e2ccbbe252ceb838a8cf724882acec0b6d9dd50fb145ec
a6d0a413cabfaf1e4395a0903c0ef292c52a34c13ec1b47fe617b443b95f994c
5a1930e833db9fbd1cc3322153cb57611f16eb46267077d65ca0601e7332715a
48d133095feaad5a09ee9238825502645e9f49e2d051c9106415117bd824458f
044dbeca477b4fdac7328b4d30cf1644388ba78eadce4085c236d15e1ee2cfc6
f417041d1fa5f1039daf7b89dd0f8f22d5302df7c89a8cdf74be9ae350fdae79
8752f6f91b327b5fe94ef1288c609060533a8742d394175886553315c537f4f0
d588692902c22955a87121c16822c7d3771ffe5105eb1a690692ac789dae19e4
8840d67695646c830701723349574c2cf29a918dff3e6393c6dd084f2edc7094
f873854c7647ad1f1fd9f6256b0d3870c24b7285d7b39c5695eaa8381fb0e82e
2d8840a83f119b88619637d231360f902cbebbb788cbedd971dec11395b274d8
d6bdaf346c92330626c2d28813186cd7f8e46d570729840753cfb01bbb94dbea
4a4898d63102e1ec111036c38c7d2d29c97d354ab01210e08e85a7ef9449725d
071fa92767401fa62d6f06ccb8f1afe280835ff3b6ac22e743345468803cf5d6
b5614f02e6c5d050283fbc61d73aff6e4332a1555800ddd0b6e7e3639ff78d6b
cc6f108c5602359d6c17fd503dca4b5814101fa3c890400f56d5133763b46dc4
9697bfc845c8e3816340827855cc4e94702ed7d366ed71b70437e52e965e69a3
4f98034feabde7cd9dc19bafaf242628e4c1988b8e9aa263cbce8d464cb6be75
b4e69925fab3241aa2c82737364672bb45db22830c49b69ba7267a077779805f
44bb80293d81b6b23e73b7596fd50b0890394c56c042e9037a2175d1dde78e3e
2bc94323b601a5b38c97d25ec62181496ddc13da38b90ca28392a36cbf0ecd39
64f9666e1792db7b7a346275c1b2798e22a6b1c90c8b0b9d5539267c7b69d2bd
006d706fc3857a6d117d1b7b24f3d6e7fc9e80bc54a426b3de3b7fc580ebc9e8
1e1dfe542c83f1b4b272cfc97fb37de05ba572ea077992494907a4131ec566b7
e682601180c76445dd5b030c9f55177d17333372c1404b559a64ecff7e963c28
620e56593ee7f27758dc80752ae8dddcc1fe33706af664b5f7a24c374899a401
a56bd7297d60942048367e4932265da0d3e1bb9b1eb81d8a5e312398a7e21e71
b70f49b7b927acd66a8c8c171c613697d4d15c5c7314c1703a0984f9752b16cb
affd3113bd8df262e7e51e6010c8fae1aad9b2b55b8ae4fcca9695045c3e6e3c"