void-packages/srcpkgs/firefox-esr-i18n/template
Đoàn Trần Công Danh 71e4d197f9 firefox-esr-i18n: update to 68.5.0.
[skip ci]
2020-02-14 00:28:26 +01:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=68.5.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="0d5d1405cfd6ac984e634ea1404e4b843410dd6fae65d2dd4afc2c4625bc5d10
c327cf83ca66ee886af7167456deecce241188087ffc26687d83dc1063fd8174
a92cc361daf2e9eec81e546044ead49e96fba421d491c1abb9510fd075c51dcf
440343b6b2bcd670e9f2c0d288ba1875eeb016fbc5042b8e4c6801be9f2bca9c
5c37064376389f1afaa22bb08ab44ba99d8e181fd2dc65fa3b95d059495f8ed1
b7a3d04f03100a53311253394ccec89fddb3f080e7806c6aae257c1adee78dac
bbd1946f77943638d36ad6b55337d16ce50050d1f42e4a607c2eb03e9eef175e
6a4e9c4410c652e545d0c115c428f63d163e8c9757ea67aba57b65916cbd81a5
9ab5036fb5ab9e911e3066f049fdf29607386ceae67c9c5e1c2131549e5c85f1
15547ad0b56847b2b3f2daf0d906ec93ec057583a5e368e9ba40d1d885898c1e
9e3c447ddc568500e546f78343be02bc4c28ad4c7ca078abf2d5c4addfcb6cea
a5781b5223a12e843e3cdafafb6b6eda10adea2df6806e0cc54e5787784782b3
002de06019536c86a6572ccead6857c3b665eb1f5c19dbe09ccad042d572d827
0121a0c436afbfd96241e833821caed03c6d2ba9e50e9ba92e9faacd4e9e6e8f
a75f803acc733c5ded8590c9cdac189cb40c1a504c89338f01405f7dd2c9dc27
5d9c619e6b63943096a4c5c8250b1f850aed571f267b8b25e596c43c5a069c94
b1a33663704bb236a6309e3dd215242a1156c904b71eec6ee4145d4d4486baf1
58218fd62e140f504ad471f9ee6c786f38c4faf02e0c5c80411204862ee3da1f
d5732967eea6493b71fc90d6ecb04a124a0bcd47c8aae16e64ed91d0aeabe2fe
32678653d206859132df5ed23ba92f124b19925686da83a07793cff347166e3d
e69e9608b6fb9273030fa849c207a84e4efb0c7d2ae0d2e74516f77c1bc22f3f
d44792d51c602951f9d7f87bb977c1841d38ddfaa00f4b1d8ee934fdddbede79
43c4a3b5682b8e588b55a0ed7ee278bb5fc3b5d31e0d1cf8483587220a941f24
3b3fd5ba2ad8a3fd0de4ed6525888fe10c557b303b7bd0620f9dc2c9ecc6c9cc
39a775ef6b4c3569114c9476e5b007bee639d267127631e8d47784ece67f3ba0
4b6086c89cbf7afff4fbd320772f86ace19d39e0e12575c9b348bcc65e2f99b9
b6a9a22223dd5aca6ff785f1b63543186945c408c54bf8535f7d63789aeacfd0
d91dda7865c01f2618a4d753ac652bac9be4a160191a037eea69d1f90d652bb1
259ca69ffdceb347d215df35ad2938a7e4e54e19104be1d99fedf8905d459dc3
ac1f3fccfc8d821e3489e6d99a9aeca21c728c49cd056b92e56de0b82904c6a0
affd94fbd791d9bea04dddbd5baaedf01e122402c4fd1feeac75acf0a19773c2
bbffb47a2493d33db9134b353ef1dce3481074fc17af85636093841bbed9b755
bde0403f3a37e50d80bbd2b4ae4fc6f8c23b43cb969e0c3b187c48133c7b426a
c51a71ecb8cc8a4859b8935ed22d13c6c9e91fd0345a6fe3774d8a75c2a1587f
cbc972894e605f7f1b92785e5bc5f379b5ef8f23e5b16c3dce5856be16322531
1e59e72af9f5167c04fb159f39c21fb4ee28e890c6140699251f373aca38ed3f
efdd56ce5374581b2844e36d7d4e6a47d0c7f8a1c1a7136285fe313fc6d96b3f
e0e4c349c4817c24fc9244e64b06450a909621eca52522348534a8a87ff0ba34
9f76f5a9f13ba4c73788e2edd802981a29fb544ea18b1048ece51d639e1ba102
a17aac3bde35bd023924fb53d8b4bb391a0a343ae8af6d9028d4a60a53a117e0
1cf6c165ff621701be2efcf949e22c7acc3cb9ab714429d088508f4b5754e227
961c13b988d8d6d4d8e3d05dc257dae6d9f31b5d22454e87c601730211dd341f
7c46cf8ab8d1ea0bbe31c31ffc85a77ab6a9df3fb6c3fcba865d87b5d7c08402
0db8da4fbe7858f2aed2ac48179603b8dfcb8206137f9d69cab21c71244aa527
3565b397a25dfacdccf9d0db3c81ad4583fec4896c3faa7061cf7dc306b99c46
2b120610b7d0e78547c3c640ac3b80c6ee179b8322cb17ba5679fc064efabc05
78aba668c51cfbd89c0694ed4a7671d2344ffbd0a22fe5befc992132febd5f51
7c59c826177a390dae2fbef8382c8ce4f88dffc69e3e795bdf615336682e1b3d
d83a017411ee19e4d2a45e64bcfe933f08fccf077f2cf605448d265b0d66895f
6658f62fb78bad14ce83cfa7175130ccb926ae4d797b8b731f022fc74e3fcb7f
f54bd7eefecebc929681624f37b35b0be9438102acea45e89897e420d1abaec1
6b81416032bae4eba5cace561eb523da47d6f92597d00b1e17fd7100226f86a4
219bf68f05c9704774e97d6151816bdc55648d7b507f82b5d1c0e8067381ce4a
1bdd6660a11070d72653c0981342a36630404495ba8d9068ca3afb48f88370b7
27186f43e22964a221d09a6f2005f059ce5818c2f074844157fee1843f97b87f
784cf65415ba1515b294c6c52600a85a90b03e5158839fcec2c870640d97faa8
6a2a6108c8348f862dbbfcaa8f4967f0bd9aa364927cc241a3f236628a3fc845
bcdb45a1d268821e2168c9e4eda27db8c12d3f7603ed20d31abcf806f13e40e8
ea7ebab8b6965e015cea9912106e592fad3c746ae8a2186f05757d99496e67d1
f58dd39cf118230fc01e50b7fb07ce33b70678da1e35f570faa84191692a6807
ccdc6f6825aa2e9c1f7d18ccda4a7cf96ccd165fee559f1876af5f8aeddcc590
9dd0be6bf162f923b4210f3ea659e20f716eddf5cf0a02f21b0f59c486c1e956
a8661989c2c911dc99c92a041e0d8a1f156636c41ff928e21f9697526a1cf721
0df171b2f16e7037e9895d71b8e3fca0d49b07bd12f998745e5d650b0f9cefda
459709f22424fad65b792a3e5b6772f392411a5a1234e1aa4abba3cfa27a49a8
c0698c8b10a621a1e5e1e1f738630bfd976b14800b76a8ec8f16fc307a1eb219
a590e4dd57ea32278ac76ed3b7e5b7a991dd58d41baca50031570d908ddf1eb8
e7194bd589222cc43352367500e3d49dd1d1879a975621ab901d667c1d1d8be0
97c45696d289ac51f37507b52182bf341294416efa9af0b7c1e8f4c2383dad08
420e3e440b51110418dfb9666a3f1912ef086e27d3ab005eb4123a19bbbe8a6a
d7dbd1cc4bf9dc925d275b60aacbefde602204cb0fee1a34999798107f8f43a3
01e170cebe0bde0caa883277e979530b68e8b02672f3a0d2ac213d39a92ac84d
d596809256884e8516fe7876a224a8590b1c6292ab88add56e2de47c85566f09
097ee9de45deae1f0b11eb8201385e1ff0b8b2bd135f13e050c634ff3ac72e68
3db14a1e395a0e2569b31cd064f41919752d36160ed1c04fdb7b9f9117d38823
f7abe5352810fe899b1dea7474aaa684c3733e11bb56347e80c04e45830f85fd
cf9c84ccd3bf10a7dd03292cbd5ade0e91c54bcae74a3721b6efcc0ca12fed11
4d586a9a7a07046ef410b239ab81ab5d1aac8c370f97c3b3e3714e4ce90334f3
785768b29f0ac6b434f644ed56858ccd474c9f2c788a2123dcdea8a719d721a7
ba04473f96f0447e03f216b7a6599517bd2b1c9d9c1abf060c772ff9e63a5be0
12a6e4c5112e8631929aab6b21fdb63b42ad0f1b090cf4b81fa1bbb695abe995
df7f172ffbec73f836a1979cdd95c38031f220ebeba36509d7fbd6ee81da3666
866ad61510ad531cd3a098403740bd95304e57b70092b62b4e13fd8e8173fd33
33f0c7430b42f0be1812dee57abe7dbd56dda4d35f8d33b512800f3a8c15dac5
9e491af65d0c19aeb5fe8d3084bd911b41ce47962ef185d566ba9e9b6aa90447
b95c02ab879f37ec35f1a7b5a40527d23010ac94490fb4a18cdcabb73c61761e
8e7d88add30a7374ee12218d3234977b0cd293019f088a1553ba5ada508a304d
040debcf2acf887ee8cb574863cd1e25ee5cffe2e1ce58b1018a106c123d7ed0
d2d43f948155889083fe520f64b0854feb031686dbb7f15c2ebcdf46bd58cc5b
5f4d68b6de79cdb55a88c8425418bb9049ef41047daca805b81233c007253631
4722b0c8f9117723c7264bc514b203246fdc631c95d707cca423ee8daaa9e1a0
421ddeb5715f74ce183404265b79abcb6cf592d4945e32fd73fbb26778a3ef39
fb541f3ecc3a19c8ce17302ae5d164a82bfef3575c61a6cb662ac6cd151de173"