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

231 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=68.4.1
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox ESR language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
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="cfd5b286f23b08c34ebfba740df44474d4ec8edf5d164a3793954a30f240a695
b6069f77cd2f2c54efd4becaedd54d21c02e99dfe4df5ee2344d5edd0cbc8f0a
39248ffd94bb1ff54f7dcddeda4957ef3dc943c93da291c976511af36a9b9327
d2cdd50d001f374bd2321fe7bf09409957593fdae3ae774606e445c42d9964e4
5d68777acd6630095e5f27d13d5e3e360ec5f0ffe95cb4007c979dc7a0ec4fd1
5ab8ebc5079934ed74745457bcefbfe649750c9b38bf60cf2b719ad666027a9d
555c635de6e1f0c29934111f030000326c016b61905681ba75b58b8bd9408ab4
2490e67413635cb81d3892265bf6054f9b483131e587deb13411f0a2554121f0
bef7c5f982204d522f3f421e597f2d6a7ec877cd6206ba740330bfe80e06a126
921beab688c27db0aa5d4657f2c523eed4a6fb3915ec0a1cc96d1860cb66a88c
7918ef7832a60547328ff5c37beeb4c8b1f67483a16ae9533662f62258612044
ba2817306b417e155130025b5a6d5580adead0698637c7215197201e18b4602d
968662e1276a23953c4f75080166542a0f09e006374817fa3907368265f26b66
e544359b2d81e5abc919f429a311fe8b3e85678012cc0da042ed56a57d92bbea
15de433ba25fa2f6afcd0b0f6bc46ecee4398500f150497bff8159efae6c0c00
6f24c1198ca612fd81d4ffa0f296d9000f1df2111a0d858a537761778889d7f3
b3dae5a4741b2831e2b02d0a584baaa673fa25e072305e0a6f0fda68b2b4ff24
11e1fefd91cf3009af6dfdb0aa6d6fa3f0a7ce11463a02a760c49db8edc341df
7fea93737adc5e5c11f7ec94dec576316d67e548586224137bf5ac854a588d1a
2be90046c7a3b674f712fd32e6d8bb9a300b638f22891a541cc01dc96d11314b
39dced5db9a6fa60edf432761c67b886ca3c59dff6f56fdf23ac5de638a9115b
b6b11c6ac06aecd4877ff6f0ad935c7f00aa97855e513d9827d671df716b6b77
d1bbcfdeb21ede3b1243b2cf7f8f779cad4397a16e79867334becbe42aa0112a
66cdfc8c0bc64e18f0d6dd8a9dc11282e370c770bbc03606e1633d25ebcb2e85
98115b73d84839a20d3bc62bf4f0ee7d75d283500bc811d32ee0662b3e668b8a
1361786bff67841eb33e71fde7dd224a904c06d82b6e8f8fab3b2678514f285e
bb6197136c992f7d040597e4a759217e7bf4663f6b12b55dfd94bb06deec4295
b4fcb941942e096c1160552ff4452dfbd892a652906f28a634902c0d529701fa
fc97ce104d77ef3b3a38592d59535eaf51af42741fa17df9b936ea7098c47927
59fc46f8dc7db6efa84d16b8ac5208fff5860526c0521513902943cbe839862b
dbebc9b65390dae57d69f6ff7802f747fa810b9648e589ac7be2684ab94ab9d1
a9580be36a2ed22218f2bcc63e6d7e109263fc983eb0d323b1071d0fc2b611da
b3b63d9cf1082efffed34c475b6608dcbdde73b3d7889c7754e321761c86f799
bd1a47ac783d0cd228a6f8e62e8eeaeceb6f65b9845920365540721a9f64c2cc
5660047c272f8698bab558d0ef4838d93cadc53bdaf03fef8cd8277d5797865c
c2bd9d18e73c6e3eef4be1ad893b43bdc46525fc1e7baed265f33cccd4891c58
3af63527bab026ee68e9c0f55bb2e86843d9ee33bb9700961b4bddd94ff68f29
9387342f5322bec600ed660fa4bdb95990fb662059979bd3b287fb57cba46695
3efd8a8259d1b0f5dd13b4b87b387bd141b23cb787f13d5e104c3a3e7828559c
e68b80fbf2d6ca5f3c262d4553d54f5a280e745827746ebc3f1756be625054f1
835bee29bd750d719f46b4a0598b79b1b98c3ecdceddbacadd003e541ddd5050
8ed544fd17d8d271beb3991cca59f0c0db888924a8814432e680c915440e6466
201357eaaab9f732f0b059f3311330ebb5eefbb94ecaa83946c750256c91856c
deee9e0b5235e7bcbb6c4d9bd5e925b9c26e7c43640ecea8d71ecc81e73732c7
0c5381f53c70af438d5e0e6ce6cc6284391e26d82016dded64f4ef29297b2a0a
ba0d0eef34c103295ad02ee343f59ea6114aa4eae3c80ebbeb3464551e46d1b5
66b15a1541c05b8bfe57710e153e35f56053d7ab639bb36fe82c1b373342f645
187ef0968faa9fbbad3b47139e8fe52a9b4d51145386156a124e629dcbb3eda2
e3147f9f60675ac5e9aa4b0367cff452a5ddd4cb494bf0e23ce870bcdf16f93c
463af84aa1110632c544f690dc123c553a74f10cbb54f3a9ee0f5a2d1c141df0
7ee760f2651977531947940a1b21bb848c0ec012f0d48ab928187431c75975a5
2bf25e509b5f60dce12a8afece33ccea77a6422909a294556a5e3f05f28ab1dc
5d2065e1673d5d76985f0ed0685a8f5ba87798d43d24f44454f9c0dfa8fc61f8
051e5a2f3f18722bfcca1a4c3da034bcd72f36f7d610edfbea557d0eda68c171
2087ffcee963cea712079d71c7a10b3e5f1869becc0de8e255e557881f3570db
a5a9b940d748fc7bfdd8c854415152cf26594a6c05b54c4eaa8bcceed966ff61
de93f758d04765f79f6b3d1245276f23ced8dce538f1b9d4c05403ac6fb39cfd
58ef3308c9e49910de0260530841f51d1c9a7d7b1ddb5d49dea42e206c2ed724
e1dd0027714edc509552b2837a9935544eaef6c2f7b766c1d90b0f4dcd94a98f
32222582002711c7ad55685363e48b9e7948c62077cb17e9f53ee3b6e8647090
8bd3c0b81ee859a5e87bb0ddd7ea1154b09d8c8ba0ce70e80498a6ebaed88fe3
af0fa3e217a2e5310062584aa8442aab10d3b93949c81204c739c03faf1b6809
0d2a42a8211ae7f2a0e6c32e7dc065d701139df415cd9cecd0640614330bc901
332264c1696be2e3b0a95dd605ad2f703e9521b6ec3e85c27a94c0516843a78d
8053bd34599ab60736da4f63ef06b8e7d3d95532a10f6ff6d75071ebc11ab8b4
be2d6b7e3241ef1ff9321dd3e6d7d457d226eef44a6d27b51202fdfeef1bb9ec
02bc7481a81dc300308e2882ae3f51f586bbf9879acc1172a89831184e0b0c19
627ca0014a95e1642540e7048774f7d7676b6103b6ed107e3e15116e3ae7e001
fdfbe9107d42ee69aa99709d5aaa3141103191e435938d6accd161455bc3e948
90d0223a8e259922564a944f6388106f44c516a974560b2f3ecc1ba4ef92b409
96d5ae1e77f378522dd95779692819c9dd41beb4ab4bcce4c484eeb3fdc3c9e5
d121ea46f6c427b92f616c9472235e10c0704b2c659a871fcee2fb855a87098b
d38b31bfe24aab151bdb316bd3d8f0d56b4ab4299b0aebf1fd246a60304ec1da
5a81e7a798ff4ed6faad63466a9897ffbecef73efbdc957fafd9b67829580c69
81f7cc2a0e915487437cf43055cd536d1868a3a2e7c268bd61a82ee80bfc77d4
d4a0eefdabdb9bd0cbc4b99e1c91ff60bb258bc9063291dd17154188e0784d9a
080f332f6aabbb467c5ffc3f2fbd0dc6d205b9731b5f3d321d3dcbe0346b9fa1
33a807d6ecabbc857911eb2941c730271953629511ecf566d46621e5bc0f1222
92dc5f5bd3d86189c8e58227db5ccd2f3ecda473d3ec9a1efde4b7318f04e6c8
63695686097e62f9ad0a85bf72e747d47371c23162c8021018405739b3479b72
9a609ec5ff131d2a2807815a8effebe565a387e9e7f5fa286bf16e6a31097864
e3a7c28914af562575fb5ce667ae5399bbe5b2921cec801573512d827225dcb1
01aeefda18b4b1025b7545ed925523b2b643aa082ac40793cd09c3cd660474ab
4f87fe73edc537f36d657590a83006a7dda95415042bd30ba1a81d59e20c8905
7e88283401910f7574a717d4b97015472623e3687e0e411d3a20b522a349e639
cda86c253cbbe67b729065d6dee652f56d0a0d990a42b9e8a969846f8b9f95a1
9bdcdcc7064662edde82b3ba74a14087521cf7c54470d72abd013af20a8af595
12eed35847a3330be6e865bf9cbdd7136cc40241566ffe9901fe264e8541d072
83b2e90adfd719f1931b078393db3df61f200e2a78579f11ebb032e189edd625
42eb7bdf0efe1c35748fb81ba2e3ca0c0a51d9720f910d237355fd010ad6d5e3
5e75129f79e0959d463a75f1ad67a6d7933348730fc1db717deefbb38ac738f7
1d69b3a569e6d5291ec108342186b76cd39d25d12dface0e7e524258da1b2317
e22802969719ef2807ba062654be86dc4c2fe6861806d5bed4ea6117603c08a0"