void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=118.0
revision=1
build_style=meta
short_desc="Firefox 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"'
'ca-valencia "Catalan (Valencian)"'
'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"'
'tl "Tagalog"'
'tr "Turkish"'
'trs "Triqui"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
# XXX: Remove makedeps later, just for build ordering on the build servers
makedepends="firefox"
depends="firefox>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox>=${version}"
conflicts="firefox-esr-i18n-${_lang}>=0"
short_desc="Firefox $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="7c2a16be7c38b995aa6f1d43cf1d88bd44469355b98937ad442534bd091d3099
aa7cbfced2446de34b8f2ad009d46f3b126749cae8c093bb7e0e913547b098db
8a5e6323b883626000ea6b08ce68f83f06885918a4fe01b48bd36b7509c71ec4
a82e7b1a07fcfbf480b31c04f4ae204574c53f96dcffd0704ec66ccd4ad1c4bf
dec9ff84dcb92e120580d9acd503ed0326369a2525d1144fcdd32a5e44b4f12d
1f0b00afbaa8e8bc8bf43fc9940f7289236fa6ad7b4c9596a9c434dab8bac1d2
185b75e4a9bb23e355c7800eaf84b678b1b5bde855d3f0b3072737be144a31bc
2b715a26cc8f23afb3645f14007918a0a364ba892a86eca5283e08edb54c3a45
0890db0ae7971e4e540191730bcdc0288ee6dbfa6d8db338be298fd94ce1fe92
58d2cd07bd8b4db426fcacd7a1996ec59cc6eb68a622cbec697fb47a4a09ddaa
715c14506b5dedc278e49198ad50e2be526dbd63205f30e7cf1aa182f6e614cc
d05c222a4085455d178b5ede71356044ad00aebbacab25ee3342e387441a5509
e2d23de2b470d3d946f43298d5865c92b511cd26fd8362a84eb6ba9372f7de81
957ce719d41e3176fb6580f4d2e188d2da1f0144896dd31e6d02eb65d77b45ee
55ecd9b2db08c065286070205ef6981791e5cc2f606f03414b6d6d902e8d875e
a60a08d6807600d584b6b75eaa25ea18b28f3ac52c2f527f4be97fe68bd9f9e5
bb2cf743dd00c3395c1d46b76539abfa44ade2054afc3e542a3bde7724daa3d7
3a234c0b678ea7f1068c4f0e6f3f93baa14b06b7a185578ef6bf79c63eaebb13
46c9fb3dd3f7863d4dc80e23f0e8d01802734e41ffd82a961464478f29a0cede
1771b170114a823759df55278f32985703253c92a8f0ebdb0f3088d226a3c778
b0c370dce2572a773cf1d31c396151473b869d6a630733be8e9054627866f2b2
a8a5094d4467158967f3a925455007eb8592f5c7965f02e8f42a8026c6a6d9a9
d08fdfca0c80fc48be30a66cb72e4460e7ac1178d9359699e06665d9b027f2f2
dabcb9ee45c85bb7a8013125cba3df9d90de4cf16cc912af70b1d20062290dd6
4e7634a6e434586587178193d8de348bc5424ec734ce075d01452379fc078d38
80dfe3de458c88a96258e316387e55cdf31cb41d25fd296278178dfa990aa2f6
f4040cd367aab421229f1c76c25db4ac80f30d160f0710d873aa838a5ff779a4
e0145797c5e9c9e473248272764d0e449993c0294f1859d23157a27ed1ca2753
6087236de7c01761c8aa9e44c37210fa62b8b29d23442d0f438c5731777951fd
65d42b7bc8fe18133311d88f02e5684016b2be999837dfdafb0d4f4220698b4a
278ffae5befbe7ad3847fd06c98480f58001c52f781b66aa204fe121b318841c
e044d2e244839d80998416d63f9895522d3690aebc267bc810db35697e09da51
3a848a99e7a759671f62ec3b64b3daba46d7dd1c7354753bb49b47bf0e7caceb
5077c2573ba4a0902f90c92d8d207d2161ac6aeae5b6bfaa8d9a08f84c05cff7
8f83bde793798bf91033e8a00e961cda6a99256d0d0412f1150a7c2d2853f27d
99fddb40239c7a43f2a1ce88edbd5d8409872db6e7d2f884138d9c8b1ee27c58
3b1d24564151090f1d666f84ea657970456e17ba9647710cde44dc3b5833d7de
16c39b189ff201b078e4a4a3e7c043acacc0acdfdc29af8c2574e1dac5f5457c
71d57e233313b02c0ac72424209315c841323570015512215a083837d2f7a203
b903cc88cceb6f262d7fde61d203d6903749dbf65e3eeada7ebb3a6106ab0fe0
b1ca217be67f34186774722771820337960352c4015e0c2e7e023cd6f2110c55
7f93215a10f2f18b360aae717c0c04bea94bdd75ad2558b310f631b04eaad2b4
bd58602a915a72194f2fdf2debc08099a031b08e3dd20ce355a3019f2b058aa7
0e498ed5d50ecba01f810dc2eecb91a70e225ac0621efbc0b8883f349f1d0b47
cff2a624daf6552f4dcabb5b4941b340befe3a7e478df1aac341516dd53f1116
ca4ff5d2c0ed1ae3240e2f3f9f5de678075d60aaec0f0e4eeb340e6dc234c431
b8e7392ebb5ae39c51585854374a9e60dbf83a4c42088954170ba10a07592b1c
e67af3c7641d5933512b7e9a1d80635581fdb34ec68b054cbb7ca74d570694d2
8b2b1c7c1998fe76efc1f4cf759908d3d280fc1c033515432eae1b9b964b6134
e04a9b717351350ff9d8107bb6068484ee575496a4b4e5cc98adc98b76c79fb7
af32681af927ba9187240efa157584c186fb86511840df434c86944c39301a14
90633b09282353a24c11e2571b5c8fb3e0cdd5d644c449b190addf4058042a08
7dc3eb8b43893f26581f3f6f701921088326f00fe1a9083385f349eb2b909cc1
d7face7446325ef9b31eadf19d73d3596496e359d5aa8055b10fc85a872bbfd5
16880d5896d6df52c0b0e6bfac3bfffc7978d6b96be5f92dcc6136357b651249
371a2fd1898df1b93da89a3f307142ffda2b373d375ccd21f1e9669519a399e7
c44a068d2d4af9130a64e21d233eb86b2cb32c3c82b79f27557619a04a04945e
2aeabd0dc632cc012964e1109fc3306655241362b2c67826f904d379a5b5c31e
7b721eda92da240981b056bc7b8965b21d42165cd3f96ff7af3cb45f2ce5d74c
525fc4fa3d3c9bd63f72aa015cd79bc23ce66af0f7d1e89868c9ca195682e34a
600c8c0c5a3fc558ddeaa1acdc4beee5a5c62b5f2b5c36d0e90abf8771632bfd
a547a98bc0b3bc47f66436e600914f083d99b7effb62a07b430696ea535c9f76
0d87e375dbf10dbb20558c3eaf52beb32fc1fec990008eed90491c9418c8ddfd
c46e7646a05ee5428bc07852001eeca42ae41b8ff08c18cef2938a7cdaded0cf
1623aa6a1ba7f6bfe6074065e01f58a55fe082d2fcf42700a3567a4af36ec207
6a977c8ab9fc9328a6cdde0965d7669aa602fa0cc1f26e4ae0b4e548e8258e95
52239f1997ff07f0f62ecd59b32d2b1a0fa8131d8ecb09532b92a393156d5707
ee21342fd11e06d87e584fcc68a718b4551e019a9b2ca09835c359a2cfdfddd4
d6bc337040f9bca4576850439ebc900a90bb101d55e47ac6b7493c570d555c80
1f220f09b4ff32113ac4b4aab3c3d9e3f1be8128801211bd22e7d57bbaabca82
2c7e984618b4803be1d560fc9b39963d01aa0fcfcd0923a11724c52ea9bc6f01
eff9434d2e3a02c177a7c49e8ceafca8f1820a84451c53a471fdbd0975fc8a09
d50b4c16e363648818823167faec7c4e0adae85d5983f15ed7cc23ce5db417c6
350ae9853b230d4105bdd8ff2cafbdfde5c3edd9b1f0e9aafeb9fe46c54a8c6b
d05f95e6cccec8895ec2b6d71368ff24eb234c253150fe0cf079b70f8e6bdba8
803895097aa58d48982a2cef523189d776116a52c238a77949bd2f0dc03d2ae7
acb75376c841a8adb732928398135a017d9d873f35722dc311c994323386f2da
22a5646e02dc717e49a76a13f528740f86e84b09670adb57d3ed4bae9694a456
f77db2e6c0ec499270a0bcc86bc205f0b2078f357d9ae6c1b539a9337903f027
8422b0628af49eecaed6e4bc037410423f13fe05ccfbfa3d647000a89c389424
2b2e59c8ae9104d7ae8334df175090d376c15b91884fb1587c6709bd2a4d5ba3
69e3b3769f80b98446c27b6119704c30a08617a6835569d48de3b4e1b0cea04e
2523cc66399ed060211b157b3d68ad5146ba0c09a2064b90b50e34309c0965a0
b57f46244f6fa470e9b9d69de5c5e414e2ae009abec683fbbaf81948f021619c
b790fe0284f33f4dafd605f286c44cc3c2a150d294e49795ad6c8316e7f5e59d
b277465ee323ef63bc6ba244262f3f1e74f57173ac21334597cdb3a46f003a9d
007aa435f0ba0792ddeeae9acd822b2e00be84e58b9439fd552408e300454fe0
ee85c337dfc01fb91a9d5f7032a55b788b6eb453dd5fefc7c9a51e9942620585
6de1a89754d4a3f75d6b6b69ee8ee4716c0a616e0aee989fb7ea6cfefaa37578
da9c1b62582a0b16677e97026a41c1b3dfbea6591d810b23f105aaa41022aff4
e56dcb0f97a9c59072a42bb3a1b6ec90132b58a1c7a23c1edc1d2595219fe8f2
ce3b2d63d29beb0c0e3fc02520be54560b80527af3a3f12bdec490c703179a1c
f655c3382fd896b4c34d3e41dbb568052fa4d57523e60c1b71b33b09d495e88f
04c562bf35377fb44f0e8d71bc2ca6ef1018a9144588dd30d68ad632c6568fd4
061d290f56823235222e912161eeb0d6edfda19d4ae153663c984fc6d057ac4a
b19690ffce85a71dedd33a541046f41d53c45e7a321363a30ec96fd12f8249e4"