void-packages/srcpkgs/firefox-esr-i18n/template
2020-04-08 16:38:17 +02:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=68.7.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="bb73ff90d2533edc065de0bc975e378f3aef4b580e75f664c7bb15bef70d3351
f197706c26e07740650a58dfc3d64adcf37fb3a33688095ff863b0e640c81370
e4e09f9d412fb459f0466e7e14824f5452a58a5653583cb37bf64913b838be1c
7f4b4ff7c3fea1110caa62a5fbd926ec7a94574ffe9e9d8686a64d7c9e3036dd
3470c12735e19b0d6807ff12ce2f571b97ff6882e1f33e9b0df64f52a6048b16
9ff276db700483176b593d341f50cb844ca66cb836e7c68cf7926f3c9f0afc2d
98d1e53b48a0063728f56450792c9764532e5d36f21b5ab9fe110442a1e2417f
2a751afa57fd31770888a1d1def6705c40151c1b256e80a5f169e845e2f58219
b9376d0dde965bf64d04b1549d4069064186311665c4c26ba6af86edc350f541
e5c177ddcec21374029e79e98d3d96b092fdd5c1218e3f93bf3fafe4a4b375aa
302b071fc01e245f8feddb9481402b7b288583d6a09c13245dbec6cfe8e4464c
17e73c704aa8944ce16f6088d9d9e178146a0732cd482668fbab8c30d2a41f86
185282d2cec6a20824b9041acdd9ca4c5208b4e9e11777e42edfec69cce94446
21a8c6379f3510b9d2864065dbad6c89316d8075454d24e6f682f13decbfcc2f
6d0b81751e6139d71ec3bb287cc4a97063560e67476ab78e3a624390c84a7969
dca24a63d40a8fdfcd24f9b4c5e578a5e45ae0fb2e31ec80f4f93ad1c900a755
432d618c198ac0f6d338365cbf8f5e09c966c37fe33fa92215dbd4d046b61e86
70d48d4248a46e356ee21157c2b6d895c9df788d340565d19d5a1185b61e7f58
2570ad9849925944979e694ad17f1b1ee1d8cecfa8f80b596fd1a11f71223120
833941b7013414e6712095a31c334895ade06c811195a6f09c69469f623adf8d
1c5feb098b0a4f2808e2205d1e3e0011fa71996e8f7bfbf4bd50a92b2ea65e97
eb6bd4e9198d2fb636b5ea5f6372a2cb383c87dba5194c291d03571dfdd6ca22
736333fb781e416efc59d26b221863bd7a758d874208fef2ab9d5daccbc5bea2
78b2d930ea3e1dedd5205fd0a99964ccdf972e4f18fb33f2f230cbab8d13b499
e6530ec6959cb86e65f272b1871389e96677dacc3c7a35cfb097e674cdfd4218
0ab7ac54ca732d93b97019d3b24db7f7e9b58078b9223c46cc2da94000651760
319a7ad42ff07ca4200654f634eccbe854f6b96c94a6696c9934c5865f16e88c
a9a5fe6bdbbeba31900dde82b32b9ecf192130b7fe89ab66159165489dd68c06
d841e13ff20270a553c15b08e6345eda50cba8a22cba3d50dddd3b36b7777fbe
8c3219a172099ed99f946b2a1ba9a919a5f675086e01c1aa1adc4492b68bef71
9224a289b9e3f1ee50636849f0346b362bd9943734c9133898b1b6ab946a48d5
e9b92c8e9b83fe8309a1081b9703e9d13605bc5dfab9fdc0fb7711412945b155
e8313f1341a47637e6864919e42a3d5c261a9bf8e1846d3b2f118ee777837d76
d99344f0b4ac48daad7f6b769dc9ada71c040e2fd846c681a7947a37a32446e6
7413059471af9fb3eeeee884a6afc6c08b79b1ea48dd22cb37529a2396183a2e
544fafd56ba742dab931349d950b86d6685c851e8ebc8ffa26a0cfcc8c1fcdd8
dee005753634060206b2c41cd39da33738bfca96868547452fe420294379b83e
a2e75f09d963334be285b5bd3c2cf5cccd28f51cba5b6338369d46dff5b64a80
2ac88866cc8e31055e39aeb031cc7aee5bcfbd4c429ad75867025ecab1b20ff7
6755440d60805d37f2223b392d46716629758b21be2753b7b81159744cf5ce8d
cd2a2354cac19f8a41a0e49206d25725fc2a956c5ee73ca659aa23e153b35179
93f8fc2e6667fc95a26b9046ef0c3d4aa2186bffdb8dd42ec0fe2fb03f6e0fdd
3f6f53a777af16c831f14562d3973c2bbf367efdb822d62e537679a6c7a1711e
41bcbf6e71b7272bdc27110f81a3c0135107f999e50534862bf38c8ca04631d2
62ca173bf368eb4aaf924b4d42af575523eb1b99d03754e3b52cd71cf987b413
7d8c014a9f43b33150716f8b4876972b59d781d106363ede42a4e0173febd770
1fa3cbaf71efd8cc11255b71c2d2be94a2836dfa04fcac2d5660d0caab98e1ce
bf744e2781e1ac2bac2b6dbe6805f3469077a18c6c31b719ed5d66542b855c84
223ce5a15a4d8e58e9f4bb90eb89e6e4efecf2a9d26869506db8bb5a9361f836
5fd2d3dc92dd93d65e65442b6c3dc87f7bfd65415b83aaf6e922254d1844ff4d
2a1098b28a906f8fa2077f4e1d003e7ff3f91f049e3ab62bb35122d2220dcf57
a2a8867a9b5c7deb99a3ff48a22ffbd5bd202ceeb33810025f98de87de38992e
950ac02a8f0df985bba9b36cad4b4ab21d506a56d6eb230c24b320168b99cfed
1664f320d58fda289a24f387c3165865b596d8108b25d182bf056d5ed468a11b
f8a386862a59f7a3231b19797e62c8e8478fb5e5b494a8f393e7645f5f9b2129
1fafb58b0b4c81a6911eab7545bff461dc24cb526f29f0a49219c804ae908c17
daa82aa4d92977fc0bf5b008e43c07fb4e499ebc276589b554a0ce9d3d02b6ed
a54589c2cb8661a5b54aa1c3c7068088cf9d0c23f7cfd603943c657f95854b4e
637aadaad717dbbc843b9a4350dd4a38b859f2b7dff49b8c3a599931e1881a92
cb27821eb416f73b275d9866499c759afcdb484b638ebecc6772d09b34f18adc
5363d0ce493316b6dbd5c93ede9626f435332ca6554e281d84d6bd7665a2d755
7a81ad225fae3470e6e1b50866e8157ac630948c2b5b76bff7e7fb15a837e831
b08be8df8fcf03028aef26a86d941fe149ebc69c773d5ec50df57f1973749c10
48e8fcd46526dca5a4aa4c6f67ac4e2ac9c664cd5252d0382ef1d55a0ad354d6
57bb8c3d71ad86a1554049d70f500e1bdfdf9dffa75ee7061f303edc557a4045
f21a357f2df6c6bf2daa8ae56fe89f2c78e4a9d863ab0db49d461085b4553b72
879e73f649098768f1593e62e32c970ee7325c54cd7ae00cf81158f54aeffadc
4a008f3bf729f0859470f3efa9d7daa5ff47a20e8fc302dabb2dcce10659a431
369aa63eb13732f7cf7801e1b97a59bdee9e979802ec2ab4fd2199a18463dff2
d54150652015aa5a27d17bf3693cde0940a58bf395a1fb1b6a2d26045587747b
21be87fb01055a4023938646a9507037e233c7fc4cde3a2c753318e01902ea4c
9d7c5b7ce3e0eb767d33e096439f4debcf5c9fd8b1f8f8efce15b71c6c989ed3
f290f9f45bb65ef63ae2c25932d701eda70748cfea850cf3f9264c70df2ca665
e639d09f620ae51e9415625dc3e744ca373b18077a56bc42dd42b079312aa098
0c553c3dd0677f7edb08e14ecc5f3b965093cfa55018d16e78d9351cc01f0a62
f97bb958e1ac654a6f706f92ff07808f242729d1748be555c1755f785bc0251c
82cfaceb2519cdea46f71c134a43fe195893c109b53110f76ff6092ed93f45a6
92e26ff5922cee89a9fdc37d600ddc651e9d9f3be6ed467d73b1217b185b2d11
fd4e3ac3f44bbe58e4181525fb8a71cc2a51b3da6f7d6f871e8c9517cc5a662f
4bf32f544ffbf563cfd827bda9e1af7bcc8bd7be3185c528e8177cdaa707f171
bd8f13e1016920228f6d54e6396a50f0c3125b83ad25e85dd2a420805fb6190e
b471ddab4f89809469634ad76ecdd4f92954da6eb849ccc68b6f99e1093a626c
27227e36990dadc2fa6c80d355b418636d2081cc91ce318c0dfa651531638ca2
22f1008821e93dbe2c443f4a032a1d8ac987c6c3953e0fa2bd4dc8f6dfca6b11
5c8cbfd7ceb886bb669a27dace939d1df023ff2e1d48db45554024a234a21189
9448793852ab7f79dabbafe679e1203f551a0b646b7db4e5f0e2cebea7ebf343
048706fecca4e99b357d3345b2aaff40506d892db0f81585b7ce99fd9af9e13f
7bba3357e660b22c8eb05a93533f66c14b78a4bcbb701a5221bd5b168d905e98
8ecba80fa65d1e908c5da145f82c46d1340ba4fc774d92f2a7d01e62b7f7b697
dec2cf7cb29b6f472d085cca59275c60573c86105a43e27948dcab59e4afcfe8
2cc489f22db72cc8e6d261d33cc4abd606bd95d777c7c40a16b501121f3c3cf5
fde933cf25468f0eea32b23460b51de79c7961bffdc44a0dbbd1fb20d6f222f2
7ad6361eeab6eb2fe380af92f969ff0e70790bcb0115236f539a2fa7ebc22197"