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

229 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=52.9.0
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox ESR language packs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'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"'
'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="f0430c3a56a450f4bf5c21caf847a279cb19e8a5373939a13f537f8b7bab7367
e271fa624527ff760878cd420942c704077fecbf723de22d3dd9287a60e076af
0d58ab44168656d85fc4d2a726ab39f7a79a5e3d161cd21c32b190bbae05e560
1658b2782ff9ba538f9215d1214be2d201293739fba29cade86205506465aab4
bb14fbbd04c85f4ad09c98afe27a8eccfc86b965e269c6599cbb76507e1018d7
0a9fb3717235352a72ba21707dc5bf15337e16a7cf16ebe72a9695a238d26648
9eb05526f4e3fe539d3c756d617cd50780116bbd87a3eda5817f156c30bfa286
dabfefa33d774e99047e30fd1ca2bd6049ed98d8ed7f1e70d92573b9c5ec8dd5
4ba54f6692543397f7694169dba0568331ef60cb09b9a5b08e8170a7bf6a75fe
11e44f831003ed4cfb929cbbe7c7a9a80830b9d3e0da29cb2f40e8f042fd6ffb
fe9d9df8b4437d3bb9b160dfef6e908bb88ae99546a6a05691ea68417dd96816
8d2074da2ddece656e1b65a957cb1ffc027ce21df62e83acaf57deb37c0481ab
66a1d3ba08d4324706763eaebbe4b4d60b02fb6710187681100c342d7d4b5ad8
324e161c85f2287502e04abab1de88e8b4c0924a30996aa848f859d2d1d556e3
8ea19529b0536099bee5ad65799bb422a6e9460fe9670c951e8609eef54133d6
0e5f8613768bfa6456b781effb1982bd78f8405c30ee3e763d95ed5cae0de97f
b50c30e90580b0c8bc6871dae8639a01019618caf713c1b8bae32485f0e8b167
f59ed6f6466815a47ba0e62bee6f589c851f1d6248df0ad0b439e31929e61338
c8f57aec50a10b6475ef4d06d7c2de794918c1ee17596a80445cf90c1e450082
c3bcece23d752bc3bb6bf36f135354f6abaa244bdd82a37ebdef2024b97efd65
2d0c00c47132e19c470c23758df33d0fa5583efab1a3b5648b18148dded4e7f7
55586600fa4bcb6223998639116e47a0ecadde8278fc8db54bfe7f1deecd839b
f76a6b8ccaaffbbeade411976d71176dd598c30a0fc576caef7b8e2140e7e8ea
e81a9b48b0c87944de07a2cb7bb3b1329137f283c5dd0d81b05ed8b5e62e66f0
3567cddae4a303042938d2a2d744dade06ab77831816c0f32295cbebe79c75ca
657225821c9c37fdfe12d09ac561d2702f20b2d17c9141f7e7bbcf7a1d7494e4
9b67115c23cebe3e3ce57c3a19dd7a5afaaf98e18e06357c4eace53b4808f302
348b9a59d5c621e807c002be4f57f616ed51da2d6e750611bb18da9081a61b42
487f6643e335e8a9cec42f14d50140de2f0a3b6d55af87aa123c432fd5f5eda1
63aac2681aae850d61b69c0411013ce2ae2c56bc428f174934668a3affd5f3fa
b8799469657e5c39cea9ecb034db50bd0cd28a8ce146d5335a14ba22245291b7
2e794d017814967a4a142d53c8d6004d8f15f85d42b1d9d31bef989f1ee147f3
d8570f7716ad0b1e9fd59dc731f972b0518dd2dcaa1e41014ee6ce1de24795c1
d57f183a96c7d57502a884458839518b20b183afcf88662c5a3fac4198afa320
c00ec788d868a77fe1b6fa1532ededef75b1339c803b7b6ba75e5029c0d8a4e9
19fd25e53641298c2d726cda6ed60a1bf978813331405b04adecb101213c545b
14291f4955b8d24f01586c4e2b46ef00cf2b684f83fdb2f62ee4a5eea8fac8a3
aa5b1ab335018aa7e45ef7274fa37807a4a7999224aa6632a19f18e50a6558d4
bb5829ca7512341d4d5c395ecfda75e1d8a1f66725032f09533c60bfa7c32efe
b0b7ffdc54d1067f4405f33a568941d738dcc0ad9a045b66fc50ca4e05a25f2d
5054a5f1071c926290dbffd5820ff19214e22ad6a63662bc93a5c1af885d14e7
444a522fdcac5ce9d4901de58fa6e6fa9c5b8a772755c6d1eec120e22aa5c964
553bdf6a60bded015ceeef002db99028c9334a4fc2825f9f147ac922f923b1e2
4838a040484a5e06e641c05f04f83c3f69b8e6c214e38589e154d53d61e96004
2d1a34a83c15f87c05c5be22dd48fd447e1d0772843e4ae3fbd64f17a6660acc
818c2dbfdc5900391e8aab5d27418bdc88959b66164e0a57890cff5ae56d5b9d
1c6a6c1c5024a81df3f858ab8038c4228630d9a4eca073cabbe35fb884503ec7
c85bb05e1e43bb34a469423efd70d4b3d0bd0266d8f851c959687d2ba346f197
5b4a5350d9f44cc9535987c50da886b52922402d1d607008239aa289f23f9a34
aaed4fa95b9f1766f4a2e2537b15554b7a8821d105f27254c4bbb23cef22cb47
c1aa4b8781925a68975a0e4a7ea419a8c2c8312fc5d81f2b35f5aabfa0a379a5
13a4f598164775e3a5fcffcca073460c5760294c54bf8d3b86c4d3e6354bac42
c07c624b39f030e2b670c7b95df82ce3118af2a46c9a4ce2bd4d24c3405a1104
207736a063247eddb70838c1b8101c2b6fa8e4b8fff55447378780af6c2a5646
ebffd88e898ad8aedefeb15d85628ecc02014ba17578fa01347e536c16eba46a
465c5cf939297ea1a4b2725ac6b647f084a34000990f0c6bc2e755313c57691a
8c38efcfb7b55a05c8435a175b08f3f040b9ba670e658b3c010c71aa758242f4
74ea5a3e367d775ebd31eeba01650d8d380ac2dc863aa26eafe17e431b0b40be
107e399c050de243083d4d05a184de9ceb645fba067bd6c97ac6ba692f3cbc9a
5904ecb6bee710f6a25eb9eb4a70ce3b32cc921545f4d3aae089573a8ced89c7
071310d0e7c2b0fdfbdc8f2646660383ec590f933d2f72a6464414976d873b21
5da1ac0f791df172435fe6e9dc0f8fed5a54bec5bcc219380718b6dec0739a56
dd9da1a0f0a33c2fcc6a9a149c97314478d62471c33aec00f0324836b894748a
76905cf4d180915ab1dd8ce07acc618ee0a8f32e25245aa193a0285c39181ae6
badc78dfdc174feb0b3c360ff6f087aeac2c00ab177768f5fc3d9db37eb03265
e87999ef3c49563295fe7229127c5c32b2a1deaed77d142923a1c02f1eacdceb
65be2e545586bda4c63a4ea17f904cd93e8a5ab69e8f692dfdb03e4348ca22ae
e6d616793b35f5a3ec08eaf21a58fde941f4e704478ad728e754d3b9db6a9df6
15705ba576cc09df020e02b5fa1e98039e6438daffaf44ef169dbc3da352eba7
a3431256dc89be10524babf7243ef48b366348166f8c6f3b33e7ab3dad8f6fa9
15b2d810761ea44828d5166588143b631a8341414a35742c2985142260464faa
7fe472ee9817615a200326c14556281b75a1190b5918725251f6b5b48793979e
12206fb5285cd7d2b1125a6c372b05591e7beec37bbd05c3e0fafd900af70cfe
7d7311b5c059d86f5db629d7bb2fdd88232c138f911076f9533d144c139fd2cf
3baf8d0aa2769c76e548ff41dbd11dea6796ef0a25558c9aa3c9447ad7ba3fd6
a05cf9bef043afebabf9b7db194706288a3d73eaf1007f4ce6d96a0084b2d441
ba88eec4cd462d636662529ed5757c359d9a684b3659dfcfc899b5863c07a552
99746474185eb6090a3cfc5917166da3a598007f0dd9a4d864483938c2f1786d
5a9a0ff096f06f5885f0f3b95825fece99c9bffa340d51c2eecf76c6a710e4f9
7300854b0367c3569bccba4552f94ab948dbba28e4b407a1919cc509dc6e9224
ba95f83cd63abf7518e98ec71eed90a47f4fe43e1ce1215ef047663935543d43
e427833cf0985c680732d5ff6c98e34d0c86caa4ed8363f822bfadc291d24f3f
66bfb2dcbe11b41207e81e1d259f0a0783dd7425c26f1c97f02df4e275c9d50f
a9be8bbaffbf17dc64ef42de29de38b61b3acf493141de9f462161afc7fbe8ba
24daaab49e4b71be426ef7276d556edb22fb8c53bb20f684fae1985fedbe2ba4
52cc765c308a4f1bc9d99396784da84fd4405c6e571b4911f36f34bc5aa94735
43a2b0033269aa6bce8699ef9cff2407fda2cc0ad56b924d0fb110cccbe5125a
4bc7a88ffa5a025f1eeb2533ede56e1b76259df57cba6bfb30acc82b48ed5a7b
844dfecaf0156967b6c8ca031e1782f2afbfc7c057d15f3ed47ae3962f0dfca7
693a74d9a97667fbd741f5db3ff3ee2648eefddb41fe53b0fb7a91300022d4c1
3f77022c3669c5d2c8a728c2027bd515263361cc7722c546662a56e9c63ed788
b029a2c9828c8f7fa4161bc7d0280ceed8ae23a1fd1f85e8052dfaa288b60bfd"